How to Install RepoPrompt Globally in Claude Code
RepoPrompt is a context-focused IDE with agent tooling designed for reliability and token efficiency. I use it with agents like Claude/Codex when working with monorepos, large or familiar codebases, and projects that have become complex. In practice, it consistently improves my codegen success rate. It's been described to me as a:
• highly context-efficient agent tooling with AST-aware codemaps that let you target specific functionality precisely,
• a context builder that assembles deep, structured prompts from those tools,
• a chat/oracle layer that uses that context for extended analysis.
The core issue is that agents rarely have enough context to see the full picture, so they mix research, planning, and review instead of treating them as separate steps.
RepoPrompt functions as a context pump, applying context engineering to generate highly efficient analysis prompts.
By default, its MCP server for Claude Code is configured per-project via .mcp.json files. But if you want it available in every Claude Code session, regardless of which directory you're in, you can install it globally.
Agent Mode Is Amazing
I run Repo Prompt in Agent Mode with Claude connected via MCP, so the agent can call Repo Prompt’s context engine natively inside the session. The result is that I rarely think about prompting. I just describe what I want, and the agent automatically pulls the right context or invokes Repo Prompt when needed. It feels like a clean separation of intent and execution, where I stay high-level and the system has a new super power that assists with discovery, context, and reasoning.
Prerequisites
- RepoPrompt installed (the macOS app)
- Claude Code installed
Background Context
Claude Code has two config files that look like they'd be the right place for global MCP servers:
~/.claude/settings.json— global settings (permissions, plugins, env vars)~/.claude.json— user-level config (MCP servers, preferences)
Despite the naming, MCP servers go in ~/.claude.json, not ~/.claude/settings.json.
Step 1: Locate the RepoPrompt MCP Binary
RepoPrompt ships an MCP server binary inside its app bundle. It also creates a convenient symlink during setup:
# The symlink (created by RepoPrompt's setup)
~/RepoPrompt/repoprompt_cli
# Which points to the actual binary inside the app bundle
/Applications/Repo\ Prompt.app/Contents/MacOS/repoprompt-mcpYou can verify this on your machine:
# Check the symlink exists and where it points
ls -la ~/RepoPrompt/repoprompt_cliIf the symlink doesn't exist, you can use the full app bundle path directly.
Step 2: Add RepoPrompt to ~/.claude.json
Open ~/.claude.json and find the "mcpServers" object. Add the RepoPrompt entry alongside your other servers:
{
// ... other config (numStartups, autoUpdates, etc.) ...
"mcpServers": {
// ... your other MCP servers ...
// Add RepoPrompt globally — uses the symlink created by RepoPrompt's setup
"RepoPrompt": {
"command": "/Users/YOUR_USERNAME/RepoPrompt/repoprompt_cli",
"args": []
}
}
// ... rest of config ...
}Replace YOUR_USERNAME with your macOS username. Alternatively, use the full app bundle path if you prefer not to rely on the symlink:
{
"mcpServers": {
"RepoPrompt": {
// Direct path to the binary inside the app bundle
"command": "/Applications/Repo Prompt.app/Contents/MacOS/repoprompt-mcp",
"args": []
}
}
}Step 3: Restart Claude Code
Restart Claude Code, then run /mcp to verify. You should see:
RepoPrompt · ✔ connectedThat's it. RepoPrompt's MCP tools: context_builder, file_search, apply_edits, get_file_tree, and more are now available globally in every Claude Code session.
Agent Prompt
Alternatively, skip the steps above and just use this prompt with Claude and let it do it for you:
Install RepoPrompt's MCP server globally for Claude Code. Here's what you need to know:
1. Find the RepoPrompt MCP binary. It's either at ~/RepoPrompt/repoprompt_cli (a symlink created by the app) or directly at /Applications/Repo Prompt.app/Contents/MacOS/repoprompt-mcp. Verify which path exists on my system.
2. Add it to ~/.claude.json (NOT ~/.claude/settings.json — MCP servers live in ~/.claude.json despite the naming). Find the "mcpServers" object and add a "RepoPrompt" entry with the binary path and empty args array.
3. Tell me to restart Claude Code and run /mcp to verify it shows as connected.