Enables AI coding agents to discover, triage, and integrate relevant open-source tools and libraries directly into your codebase.
Also known as replenhq/replen, @replen/mcp
- Stars
- 8
- Tools
- —
- Downloads, 30 days
- —
- Latest version
- 1.3.5
- Last commit
- Sep 28, 2026
- License
- Apache-2.0
What is replen MCP?
replen enables AI coding agents to discover, triage, and integrate relevant open-source tools and libraries directly into your codebase.
Summary generated from the project's README
About replen MCP server
Developers using AI coding agents like Claude Code can use this server to discover and integrate open-source libraries directly into their active projects. By connecting via a personal token, the server allows an agent to scan your current repository against a curated ecosystem of tools. It identifies relevant candidates and provides reasoning for why they fit your specific codebase capabilities.
The system operates through three main components: Brainstem for matching and triaging, Atlas for managing a knowledge graph of past decisions, and onboarding tools for grounding your project. You can use tools like replen_match to find new software or replen_handoff to automatically open pull requests for integrations. Because the agent performs the actual reasoning using your own subscription tokens, the server acts as a high-speed data shuttle for metadata and decision history.
Setup requires a single command using npx and a token from your account settings. Once configured, the server runs as a stdio process that integrates with your existing MCP host without interfering with other installed servers.
What you can do with it
- 1Discover new project toolsAsk your AI agent to find new open-source libraries that match your current project requirements.
- 2Evaluate library integrationDetermine if a specific GitHub repository is a good fit for your existing codebase.
- 3Automate dependency handoffsInstruct the agent to create pull requests for all the libraries you have previously starred.
- 4Maintain architectural knowledgeRetrieve past decisions and insights across your entire portfolio of projects.
Written from the project's README. Every use case is checked against a quote from it.
How to install replen MCP
Formats verified 10 Nov 2026Add to CursorAdd to GooseInstall replen MCP in Claude Code
$ claude mcp add --env 'DIGEST_TOKEN=<YOUR_DIGEST_TOKEN>' replen -- npx -y @replen/mcpInstall replen MCP in Cursor
~/.cursor/mcp.json
{
"mcpServers": {
"replen": {
"command": "npx",
"args": [
"-y",
"@replen/mcp"
],
"env": {
"DIGEST_TOKEN": "<YOUR_DIGEST_TOKEN>"
}
}
}
}Install replen MCP in VS Code
.vscode/mcp.json
{
"servers": {
"replen": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@replen/mcp"
],
"env": {
"DIGEST_TOKEN": "<YOUR_DIGEST_TOKEN>"
}
}
}
}Install replen MCP in VS Code CLI
$ code --add-mcp '{"name":"replen","type":"stdio","command":"npx","args":["-y","@replen/mcp"],"env":{"DIGEST_TOKEN":"<YOUR_DIGEST_TOKEN>"}}'Install replen MCP in Claude Desktop
claude_desktop_config.json
{
"mcpServers": {
"replen": {
"command": "npx",
"args": [
"-y",
"@replen/mcp"
],
"env": {
"DIGEST_TOKEN": "<YOUR_DIGEST_TOKEN>"
}
}
}
}Install replen MCP in Codex
$ codex mcp add replen --env 'DIGEST_TOKEN=<YOUR_DIGEST_TOKEN>' -- npx -y @replen/mcpInstall replen MCP in Codex config.toml
~/.codex/config.toml
[mcp_servers.replen] command = "npx" args = ["-y", "@replen/mcp"] [mcp_servers.replen.env] DIGEST_TOKEN = "<YOUR_DIGEST_TOKEN>"
Install replen MCP in Gemini CLI
$ gemini mcp add -s user -e 'DIGEST_TOKEN=<YOUR_DIGEST_TOKEN>' replen npx -- -y @replen/mcpInstall replen MCP in Gemini settings.json
~/.gemini/settings.json
{
"mcpServers": {
"replen": {
"command": "npx",
"args": [
"-y",
"@replen/mcp"
],
"env": {
"DIGEST_TOKEN": "<YOUR_DIGEST_TOKEN>"
}
}
}
}Configuration
DIGEST_TOKENSecretOptional hosted-tier token. Set automatically by npx replen; not needed to self-host.
DIGEST_BASE_URLBackend base URL. Set automatically by npx replen; override only to self-host.
| Name | Description | |
|---|---|---|
| DIGEST_TOKEN | Optional hosted-tier token. Set automatically by npx replen; not needed to self-host. | Secret |
| DIGEST_BASE_URL | Backend base URL. Set automatically by npx replen; override only to self-host. |
Automated checks
Ran Nov 14, 2026Full report →Passed our automated checks. That is not a security audit: read the code and give the server the narrowest access it needs. How checks work
- Source repository linked and reachablereplenhq/replen is public and reachablegithub.com/replenhq/replen ↗Pass
- Package names this repository as its source@replen/mcp names replenhq/replen as sourcenpmjs.com/package/@replen/mcp ↗Pass
- Build provenance (Sigstore attestation)No build attestation published for this releaseNot checked
- Open source license (OSI)Apache-2.0spdx.org/licenses/Apache-2.0.html ↗Pass
- Commit or release in the last yearLast commit or release 2026-09-28github.com/replenhq/replen ↗Pass
- OpenSSF ScorecardNot checked
- Package name not close to a popular packageNo popular package one edit away from @replen/mcpPass
- No critical advisory in the package or its dependencies99 resolved dependencies checked; no critical advisoryosv.dev ↗Pass
- No hidden instructions to the model0 tool descriptions and the README read; no override phrases, credential paths or hidden charactersPass
- Destructive tools are labelledNot checked
- Remote endpoint answers the MCP handshakeNot checked
README
View on GitHub@replen/mcp
Smarter AI Development workflows. MCP server that brings replen - the AI that asks "can we do this better?" on your codebase - inside Claude Code / Codex / any MCP host.
While your AI coding tool waits for prompts, replen reads your code against the ecosystem every morning. This MCP lets the agent act on the results without leaving chat:
- "what new tools shipped this week that fit my project?"
- "is github.com/owner/repo worth integrating into the codebase I have open?"
- "open handoff PRs for everything I starred"
What it exposes
replen ships 15 tools. Three moving parts sit behind them: Brainstem matches, Watchtower watches, Atlas remembers. The tools group under Brainstem, Atlas, and onboarding.
Brainstem (the matching loop, in-session on your own subscription tokens)
| Tool | Returns |
|---|---|
replen_match |
The cwd repo's candidate inventory: repo metadata + cosine scores + whyShortlisted lines, everything Watchtower surfaced and Brainstem scored against this codebase's capabilities |
replen_record_triage |
Records the agent's per-candidate verdict (adopt / port / cherry-pick / clean-room / upgrade / skip / defer) with score, effort, and reasoning |
replen_state |
Records the user's action on a candidate: star / hide / handoff / surfaced |
replen_capture_insight |
Stores a portfolio insight from triage: a transferable lesson or a sharpened boundary |
Atlas (the knowledge graph + memory)
| Tool | Returns |
|---|---|
replen_leaps |
Non-obvious cross-project / adjacency / cross-user connections from Atlas, each with a via path |
replen_recall |
Memory across your whole portfolio: past verdicts, grounded reports, capabilities, and notes for a query |
replen_cart |
Pulls a saved or built-in Atlas Cart's rows in-session (Blind spots, Triage board, Keystones, Brought in, Stale deferrals, By domain, or your saved carts) |
replen_queue |
The awareness-to-action queue: list / add / done / dismiss items carried over from the Brief |
replen_handoff |
Opens a handoff PR in the matched project's repo |
Onboarding (grounding a project)
| Tool | Returns |
|---|---|
replen_onboard_state |
Per-repo grounding state across the portfolio, the cheap pre-flight for /replen-onboard |
replen_set_capabilities |
Writes a project's grounded capabilities + report (read locally by the agent, never uploaded as raw files) |
replen_set_tags |
Writes a project's ranked domain tag cloud |
replen_set_versions |
Writes a project's pinned direct-dependency + runtime versions |
replen_set_product |
Groups sibling repos under one product |
Plus replen_help, the tool index.
The core tool is replen_match: it returns the cwd repo's candidate inventory (metadata + cosine + whyShortlisted) with no LLM call on our side, so the host agent reasons about fit against your actual open codebase in context, then records each call via replen_record_triage. Atlas now has two halves: the graph/explore view and Carts, browsable filterable views over your decision graph that replen_cart reads in-session.
Install (one-liner)
Get your token from your replen /settings page → "Connect Claude Code", then run:
npx -y @replen/mcp setup --token=ing_xxxxxxxx --base=https://app.replen.dev
That writes the MCP entry into ~/.claude.json (with a backup of the original) and is fully idempotent - re-run it any time you rotate the token.
Restart Claude Code to pick up the new server.
What it actually does under the hood
- Adds
mcpServers.replento your Claude Code config command: "replen-mcp"- resolved via npx on each host launch, ornpm i -g @replen/mcpfor a slightly faster startupenv:DIGEST_BASE_URL+DIGEST_TOKEN- Existing MCP servers (firebase, neon, etc.) are preserved untouched
- A
.bakof your config is saved next to it for one-step recovery
If you'd rather hand-edit your config, the block to add is:
{
"mcpServers": {
"replen": {
"command": "replen-mcp",
"env": {
"DIGEST_BASE_URL": "https://app.replen.dev",
"DIGEST_TOKEN": "ing_xxxxxxxx"
}
}
}
}
Other commands
replen-mcp --version # print version
replen-mcp --help # show available subcommands
replen-mcp # run as stdio MCP server (your host spawns this; you usually don't run it directly)
Example session
You: anything new today for my project X?
Agent: [calls replen_match({repo: "you/my-project-x"})]
2 candidates for this repo, top one is roboflow/supervision - 38k★ - MIT -
cosine 0.71 · whyShortlisted: fills your "object tracking" capability.
Want me to triage them against your current codebase?
You: yes
Agent: [reads the candidate README + greps your src/ for related code]
supervision drops in for your hand-rolled annotation utilities and
deletes your ByteTrack reimplementation. Strong fit.
[calls replen_record_triage({repo: "roboflow/supervision", verdict: "adopt", ...})]
Recorded. Want a handoff PR?
You: yes
Agent: [calls replen_state({repo: "roboflow/supervision", status: "handed_off", ...})]
[calls replen_handoff({matchId: 96})]
PR opened: github.com/you/my-project-x/pull/142
Costs
- Read-only tools (
replen_match/replen_cart/replen_recall/replen_leaps) cost nothing - pure JSON shuttle. - Triage (the per-candidate verdict + writeup) is the agent's own reasoning, paid through your Claude subscription inside the session, never on our side. Replen stores no LLM API key and makes no per-candidate model call; the only server-side model work is cheap embeddings + a catalogue classifier on Replen's own account.
replen_handoffis one GitHub write call. No LLM on our side.
No additional replen-side cost vs the web dashboard - the MCP server queries the same API as app.replen.dev.
License
Apache-2.0 - see LICENSE. Permissive open source: free to use, modify, and redistribute for any purpose, with an explicit patent grant. "Replen" and the other named surfaces remain trademarks (Apache §6).
replen MCP questions
How do I add replen MCP to Claude Code?
Run claude mcp add --env 'DIGEST_TOKEN=<YOUR_DIGEST_TOKEN>' replen -- npx -y @replen/mcp in your terminal. Add --scope user to make it available in every project.
How do I add replen MCP to Cursor?
Open ~/.cursor/mcp.json and add the server under mcpServers, using the Cursor config shown in the install section above.
Does using the triage tool cost extra?
No, triage uses the agent's own reasoning and is paid through your existing Claude subscription; replen does not make per-candidate model calls.