Codemogger MCP Server

Code indexing library for AI coding agents. Parses source code with tree-sitter, chunks it into semantic units (functions, structs, classes, impl blocks), embeds them locally, and stores everything…

Local serverstdio

What is the Codemogger MCP Server?

Codemogger is an MCP project maintained in the glommer/codemogger repository. The maintainer describes its purpose as “Code indexing library for AI coding agents. Parses source code with tree-sitter, chunks it into semantic units (functions, structs, classes, impl blocks), embeds them locally…”. Read the project documentation for the complete scope.

Installation

The documented npm package is codemogger. The configuration below comes from the maintainer’s example; adapt its paths and account values to your environment.

Source

Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-08.

How to install the Codemogger MCP Server

{
  "mcpServers": {
    "codemogger": {
      "command": "npx",
      "args": [
        "-y",
        "codemogger",
        "mcp"
      ]
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.