1
Add it to Claude Code
claude mcp add codemogger -- npx -y codemogger mcpAvailable Tools (3)
Once configured, Codemogger gives your AI agent access to:
codemogger_searchPerforms semantic and keyword search over indexed code.querymodecodemogger_indexIndexes a codebase for the first time.pathcodemogger_reindexUpdates the index after modifying files.pathTry It Out
After setup, try these prompts with your AI agent:
→Index the current project directory so I can search through the codebase.
→Search for 'authentication middleware' in the codebase using semantic search.
→Find the definition of 'BTreeCursor' using keyword search.
→Reindex the project to include my recent changes.
Prerequisites & system requirements
- An MCP-compatible client (Claude Code, Cursor, Windsurf, Claude Desktop, or Codex)
- Node.js 18+ with npm/npx installed
Alternative installation methods
Global NPM
npm install -g codemoggerKeep this setup from going cold
Save the docs, env vars, and workflow around Codemogger in Conare so Claude Code, Codex, and Cursor remember it next time.