{"repo":"glommer/codemogger","free":true,"listed":false,"github":"https://github.com/glommer/codemogger","clone":"git clone https://github.com/glommer/codemogger.git","description":"Codemogger is a code indexing library and MCP server for AI coding agents","language":"TypeScript","stars":338,"topics":[],"license":"MIT","category":"mcp-servers","readme_excerpt":"codemogger 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 in a single SQLite file with vector + full-text search. No Docker, no server, no API keys. One .db file per codebase. Why Coding agents need to understand codebases. They need to find where things are defined, discover how concepts are implemented across files, and navigate unfamiliar code quickly. This requires both keyword search (precise identifier lookup) and semantic search (natural language queries when you don't know the exact names). As AI coding tools become more composable - agents calling agents, MCP servers plugging into different hosts - this capability needs to exist as a library that runs locally. No external servers, no API keys, no Docker containers. Just a function call that returns results. codemogger is that library. Embedded SQLite (via Turso) with FTS + vector search in a single .db file. Install Or use npx to run without installing. Quick start Add to your coding agent's MCP config (Claude Code, OpenCode, etc.): The MCP server exposes three tools: - codemogger search - semantic and keyword search over indexed code - codemogger index - index a codebase for the first time - codemogger reindex - update the index after modifying files Add the local db to .gitignore : SDK codemogger is also usable as a library. The SDK has no model dependency - you prov","default_branch":null,"files":null,"tree":[],"storefront":"/r/glommer","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/glommer/codemogger/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}