🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@replen/mcp

Package Overview
Dependencies
Maintainers
1
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@replen/mcp

Replen MCP server: a local intelligence layer for AI coding agents. Surfaces libraries, algorithms and techniques matched to your repos, as tools your AI host (Claude Code, Codex, Cursor) can call. Pairs with the /replen skill.

latest
Source
npmnpm
Version
1.3.7
Version published
Weekly downloads
151
10.22%
Maintainers
1
Weekly downloads
 
Created
Source

@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)

ToolReturns
replen_matchThe cwd repo's candidate inventory: repo metadata + cosine scores + whyShortlisted lines, everything Watchtower surfaced and Brainstem scored against this codebase's capabilities
replen_record_triageRecords the agent's per-candidate verdict (adopt / port / cherry-pick / clean-room / upgrade / skip / defer) with score, effort, and reasoning
replen_stateRecords the user's action on a candidate: star / hide / handoff / surfaced
replen_capture_insightStores a portfolio insight from triage: a transferable lesson or a sharpened boundary

Atlas (the knowledge graph + memory)

ToolReturns
replen_leapsNon-obvious cross-project / adjacency / cross-user connections from Atlas, each with a via path
replen_recallMemory across your whole portfolio: past verdicts, grounded reports, capabilities, and notes for a query
replen_cartPulls 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_queueThe awareness-to-action queue: list / add / done / dismiss items carried over from the Brief
replen_handoffOpens a handoff PR in the matched project's repo

Onboarding (grounding a project)

ToolReturns
replen_onboard_statePer-repo grounding state across the portfolio, the cheap pre-flight for /replen-onboard
replen_set_capabilitiesWrites a project's grounded capabilities + report (read locally by the agent, never uploaded as raw files)
replen_set_tagsWrites a project's ranked domain tag cloud
replen_set_versionsWrites a project's pinned direct-dependency + runtime versions
replen_set_productGroups 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.replen to your Claude Code config
  • command: "replen-mcp" - resolved via npx on each host launch, or npm i -g @replen/mcp for a slightly faster startup
  • env: DIGEST_BASE_URL + DIGEST_TOKEN
  • Existing MCP servers (firebase, neon, etc.) are preserved untouched
  • A .bak of 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_handoff is 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).

Keywords

mcp

FAQs

Package last updated on 08 Jul 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts