{"repo":"nduc99911/repo-context-mcp","free":true,"listed":false,"github":"https://github.com/nduc99911/repo-context-mcp","clone":"git clone https://github.com/nduc99911/repo-context-mcp.git","description":"MCP server: repo map, code search, and token-aware context packs for AI coding agents","language":"TypeScript","stars":104,"topics":["ai-agent","claude","codex","cursor","mcp","model-context-protocol","typescript"],"license":"MIT","category":"mcp-servers","readme_excerpt":"repo-context-mcp MCP server that helps AI coding agents understand a repository — without dumping the entire monorepo into the prompt. Works with Codex , Claude Code , Cursor , Cline , and any client that speaks Model Context Protocol. Why AI agents waste tokens re-walking node modules , missing entrypoints, or pasting random files. repo-context-mcp exposes three focused tools: Tool Purpose --- --- repo map Lightweight tree + manifests/entrypoints search code Fast substring search with path:line hits pack context Token-budgeted markdown pack for LLM prompts Local-only. No cloud. No telemetry. Stdio transport. Install Requires Node.js 18+ . CLI (no MCP client) After global install / npx : MCP client config Claude Desktop / Claude Code Cursor Settings → MCP → add server with command npx and args [\"-y\", \"repo-context-mcp\"] . Codex / generic stdio From this repository after build: See also examples/mcp-config.claude.json and examples/mcp-config.local.json . Optional env: Variable Meaning --- --- REPO CONTEXT ROOT Default repository root when tools omit root Each tool also accepts an explicit root argument. Tools repo map Returns a markdown tree, file count, and likely entrypoints ( package.json , README.md , src/index.ts , AGENTS.md , …). Skips node modules , .git , dist , etc. search code Substring search across source-like extensions. pack context Ranks files (entrypoints + focus matches), respects a rough token budget ( 4 chars/token), and returns a single markdown document re","default_branch":null,"files":null,"tree":[],"storefront":"/r/nduc99911","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/nduc99911/repo-context-mcp/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."}