MCPVault

search_code

MCP tool from Code Memory by kapillamba4

Perform semantic search and find structural code definitions, locate where functions/classes are defined, or map out dependency references (call graphs). Uses hybrid retrieval (BM25 + vector embeddings) to find exact matches and semantic similarities.

How to use it

search_code is exposed by the Code Memory MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the search_code tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.

Install Code Memory

$uvx code-memory
FULL CODE MEMORY LISTING