Skip to content

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.

Capabilitycode.search_everywhere
AreaCode insight and refactoring
Accessreads only
Reaches—
Rightsnone
Dry runnone

Arguments

ArgumentTypeDescription
queryrequiredstringA few characters of the name; camel humps like GoDe work.
categoriesarray of stringAny of files, classes, symbols, actions, text (default: files, symbols, actions and text, as the All tab).
limitintegerMost results per category (default 20).minimum 0
match_casebooleanText category: distinguish upper and lower case (default false).
whole_wordsbooleanText category: whole words only (default false).
regexbooleanText category: the query is a regular expression (default false).
include_non_projectbooleanFiles 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.

Terminal window
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"
]
}
}
}