MCP server: repo map, code search, and token-aware context packs for AI coding agents
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.
AI agents waste tokens re-walking nodemodules, missing entrypoints, or pasting random files. repo-context-mcp exposes three focused tools:
Tool Purpose --- --- repomap Lightweight tree + manifests/entrypoints searchcode Fast substring search with path:line hits packcontext Token-budgeted markdown pack for LLM prompts
Local-only. No cloud. No telemetry. Stdio transport.
Settings → MCP → add server with command npx and args ["-y", "repo-context-mcp"].
See also examples/mcp-config.claude.json and examples/mcp-config.local.json.
Variable Meaning --- --- REPOCONTEXTROOT Default repository root when tools omit root
Each tool also accepts an explicit root argument.
Returns a markdown tree, file count, and likely entrypoints (package.json, README.md, src/index.ts, AGENTS.md, …). Skips nodemodules, .git, dist, etc.
Substring search across source-like extensions.
Ranks files (entrypoints + focus matches), respects a rough token budget (~4 chars/token), and returns a single markdown document ready to paste into an agent prompt or PR review.
- Reads files only under the requested root. - Does not execute project code. - Skips common vendor dirs and obvious binaries. - Still: only point it at repositories you trust.
From the project README.
Add the radar badge to your README — it shows your project was picked up by MCP Radar and links to this page:
[](https://mcp.liqiwa.com/s/nduc99911--repo-context-mcp.html)
Homekit gives any AI agent direct, physical control over Apple Home. Flip lights. Lock doors. Read sensors. Through a single open interface.
alijancb/bubble-agent-mcpOpen-source MCP server for discovering fast-growing internet conversations with Bubble Agent
dhavanikgithub/chartbrew-mcpChartbrew + AI agents. MCP server exposing Chartbrew's documented API: teams, connections, datasets, dashboards, charts, live queries, and secure embedding. TypeScript · stdio · restricted/unrestricte
tinhien11/tdai-memory-mcpLocal-first MCP memory server — Memory + CodeGraph + Wiki in one SQLite file. Tree-sitter code indexing, markdown wiki, lifecycle hooks, auto-capture. No API key, no cloud.
wppilot-labs/wppilotWordPress MCP server for Claude, Cursor, Codex and Copilot. 103 typed abilities in the free plugin: posts, pages, Gutenberg blocks, media, menus, taxonomies, plugins and themes, with OAuth 2.1, safety
0xsline/OpenChatCutLocal-first conversational AI video editor with a professional multi-track timeline, Agent Skills, MCP integration, and Remotion-powered rendering.
The top new MCP servers of the week, every Monday. No spam, unsubscribe anytime.