search_everywhere
MCP tools › Code insight and refactoring
Search Everywhere: workspace files, classes, symbols (C, Go, Java, JavaScript, Python, Rust, TypeScript), IDE actions with shortcuts and text lines, by a few characters of the name. Query parts match word starts: camel humps (OrSe finds OrderService), * anywhere, model.Ord by package, name:12 for line 12 (returned 0-based as line); arithmetic (12*7) returns calculator. Results grouped and ranked. Files exclude .venv, node_modules, build output and Git-ignored files unless include_non_project; not_listed says what was left out.
Its results carry text from files, language_server: the client is told to treat that as data, never as instructions.
| Capability | code.search_everywhere |
|---|---|
| Area | Code insight and refactoring |
| Access | reads only |
| Reaches | — |
| Rights | none |
| Dry run | none |
Arguments
| Argument | Type | Description |
|---|---|---|
queryrequired | string | A few characters of the name; camel humps like GoDe work. |
categories | array of string | Any of files, classes, symbols, actions, text (default: files, symbols, actions
and text, as the All tab). |
limit | integer | Most results per category (default 20).minimum 0 |
match_case | boolean | Text category: distinguish upper and lower case (default false). |
whole_words | boolean | Text category: whole words only (default false). |
regex | boolean | Text category: the query is a regular expression (default false). |
include_non_project | boolean | Files category: also virtual environments, installed dependencies, build output and files ignored by Git (default false: only the project's own sources). |
Call it from a shell
ferris-idea call runs one tool with the rights and safe mode of ferris-idea mcp. Replace the folder and the placeholder values.
ferris-idea call ~/my-project search_everywhere '{"query":"<string>"}'Input schema as JSON
{ "type": "object", "required": [ "query" ], "properties": { "query": { "description": "A few characters of the name; camel humps like `GoDe` work.", "type": "string" }, "categories": { "description": "Any of `files`, `classes`, `symbols`, `actions`, `text` (default: files, symbols, actions\nand text, as the All tab).", "type": [ "array", "null" ], "items": { "type": "string" } }, "limit": { "description": "Most results per category (default 20).", "type": [ "integer", "null" ], "minimum": 0 }, "match_case": { "description": "Text category: distinguish upper and lower case (default false).", "type": [ "boolean", "null" ] }, "whole_words": { "description": "Text category: whole words only (default false).", "type": [ "boolean", "null" ] }, "regex": { "description": "Text category: the query is a regular expression (default false).", "type": [ "boolean", "null" ] }, "include_non_project": { "description": "Files category: also virtual environments, installed dependencies, build output and files\nignored by Git (default false: only the project's own sources).", "type": [ "boolean", "null" ] } }}