Who it is forA developer whose agent wastes tokens re-reading irrelevant files in a monorepo.
The problemAgents miss entrypoints and paste random files into context.
The outcomeThree focused tools: repo_map, search_code and pack_context.
What you need first
- Node.js 18+
Steps
- Install Node.js 18+
- Add a server with command npx, args -y Repo Context MCP, and REPO_CONTEXT_ROOT set to your repo
- Restart your MCP client
- Ask the agent to call repo_map before editing
Prompt for your agent
With repo-context-mcp configured for <repo>, call repo_map, then search_code for <symbol>, and list the path:line hits. Confirm node_modules was not included.
Caveat. It uses stdio transport, so each client starts its own local server process.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for nduc99911/repo-context-mcp and "Give your coding agent a repo map and code search"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer