Skip to main content
Glama

code-index-mcp

search_code

Query indexed code files to find specific patterns. Map results to filenames with associated line numbers and content. Configure case sensitivity and file extensions for precise searches.

Instructions

Search for code matches within the indexed files. Returns a dictionary mapping filenames to lists of (line_number, line_content) tuples.

Input Schema

NameRequiredDescriptionDefault
case_sensitiveNo
extensionsNo
queryYes

Input Schema (JSON Schema)

{ "properties": { "case_sensitive": { "default": false, "title": "Case Sensitive", "type": "boolean" }, "extensions": { "anyOf": [ { "items": { "type": "string" }, "type": "array" }, { "type": "null" } ], "default": null, "title": "Extensions" }, "query": { "title": "Query", "type": "string" } }, "required": [ "query" ], "title": "search_codeArguments", "type": "object" }
Install Server

Other Tools from code-index-mcp

Related Tools

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/johnhuang316/code-index-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server