Replen

io.github.replenhq由 GitHub 账号 replenhq 发布v1.3.5更新于 Oct 24, 2026

A local intelligence layer for AI coding agents. Maps your repos, matches the open-source frontier.

已验证STDIO仅桌面知识与记忆开发者工具

概览

AI 生成的概览

Replen 是一个本地 MCP 服务器,让 AI 编程助手把当前打开的代码库与开源项目进行匹配、记录评估结论,并检索跨项目记忆。

可以做什么
将当前仓库与候选开源项目匹配,返回评分和入选理由,并记录每个候选的评估结论与工作量估计。记录用户对候选的操作(收藏、隐藏、交接、已呈现),并保存评估中得到的组合级洞察。查询知识图谱中的跨项目关联,检索过往结论与笔记,读取已保存或内置的 Atlas Cart 视图。管理从简报延续的行动队列(列出、添加、完成、忽略),并在匹配项目的仓库中发起交接拉取请求。为项目建立基础信息:写入能力与报告、排序后的领域标签、锁定的依赖与运行时版本,以及产品分组;另有帮助工具作为工具索引。
适用场景
当你希望 AI 编程助手评估开源项目是否适合当前打开的代码库、跨仓库记录采纳决策,并在不离开对话的情况下把这些决策转化为交接拉取请求时使用。
运行要求
通过 npx 或全局安装 @replen/mcp 作为本地进程运行,需要 Node.js。需要 replen 账号,以及在 replen 设置页面获取的令牌,通过 DIGEST_TOKEN 传入,另需 DIGEST_BASE_URL(安装命令会自动设置,自托管时可覆盖)。需要访问 replen API 的网络连接,发起交接拉取请求时还需访问 GitHub。
安装前请注意
安装命令会向 Claude Code 配置文件写入 MCP 条目,并备份原文件。DIGEST_TOKEN 是机密凭据。多个工具会写入数据:评估结论、候选状态、洞察、队列条目、项目能力、标签、版本和产品分组。replen_handoff 会执行 GitHub 写操作,在仓库中创建拉取请求。评估推理费用由你自己的 Claude 订阅承担。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Replen,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

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

bash
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:

jsonc
{  "mcpServers": {    "replen": {      "command": "replen-mcp",      "env": {        "DIGEST_BASE_URL": "https://app.replen.dev",        "DIGEST_TOKEN": "ing_xxxxxxxx"      }    }  }}

Other commands

bash
replen-mcp --version     # print versionreplen-mcp --help        # show available subcommandsreplen-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: yesAgent: [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: yesAgent: [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).

来源:mcp/README.md,提交 1897e7a

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v1.3.5最新Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分