Toolcairn Mcp

io.github.neurynae由 GitHub 帳號 neurynae 發布v1.0.0更新於 Oct 24, 2026

MCP server for tool discovery: find, compare, and verify tools across 35+ registries.

概覽

AI 產生的概覽

本機 MCP 伺服器,讓 AI 程式助理在 35+ 個套件登錄庫中搜尋、比較與驗證開源工具,並產生技術棧與版本相容性建議。

可以做什麼
搜尋與細化工具探索:自然語言搜尋並附上健康度訊號,意圖不明時追問釐清,拆解模糊需求,並驗證建議的工具是否已被索引。建構與比較:組合多層技術棧並提供跨版本相容矩陣,對兩個工具做正反對比,檢查 peer 版本範圍相容性。專案設定:掃描儲存庫清單檔、歸類已宣告的工具,並讀取或更新本機專案快照(含稽核日誌)。回饋與工作階段:回報使用結果、提交圖譜更新建議、查詢 GitHub issue、判斷提示是否需要工具搜尋,以及管理本機登入。
適用情境
適合助理需要挑選函式庫或框架、且要求依據最新排名而非過時訓練資料的情況,也適合檢查一組技術棧內各版本是否互相相容。另可用於稽核儲存庫中已宣告的相依套件。
執行需求
透過 npx 以 stdio 在本機執行,需要 Node.js 22+。需要免費的 ToolCairn 帳號,首次啟動時透過瀏覽器裝置碼流程登入,憑證保存在本機,90 天後過期。搜尋、比較與技術棧工具需要連線至 ToolCairn API 的網路存取。
安裝前請注意
登入憑證保存在磁碟上,90 天後過期。預設會將使用事件(工具名稱、耗時、狀態)傳送至 ToolCairn,可用 TOOLCAIRN_TRACKING_ENABLED=false 關閉。init 與 update 工具會在專案根目錄寫入 .toolcairn 目錄,設定變更會被稽核記錄。搜尋查詢與技術棧請求會傳送至第三方雲端 API。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Toolcairn Mcp,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

[ToolCairn — Tool intelligence for AI coding agents]

[npm version] [npm downloads] [License: MIT] [Node.js]

[Official MCP Registry] [Smithery] [Glama] [MCP.Directory]

@neurynae/toolcairn-mcp

Source for @neurynae/toolcairn-mcp on npm. Install via the package, not from this repo.

ToolCairn is an MCP server that connects your AI coding agent to a continuously-updated graph of 30,000+ open-source tools across npm, PyPI, Cargo, Maven, Go, Composer, RubyGems, NuGet, Homebrew, and 35+ more registries. Search, compare, build stacks, and check version compatibility — all from inside Claude Code, Cursor, or any MCP-compatible client.

Concrete example. Your agent receives "I need a fast HTTP client for Node" → it calls search_tools → ToolCairn returns ranked candidates with maintenance and community signals, alternatives, and a warning if the top pick has questionable activity. No more guessing from blog posts and stale tutorials.

[How it connects: Your AI Agent ↔ toolcairn-mcp ↔ ToolCairn Cloud]

The MCP server runs locally as a stdio child of your agent. Tool calls travel over MCP to this package, which proxies the network-bound ones to the ToolCairn Cloud API and handles the local-only ones (project scan, config, audit log) on disk.


Why ToolCairn?

Plain web search and LLM training data are insufficient for tool selection — knowledge cutoffs miss latest releases, search engines surface tutorials over authoritative ranking, and version-compatibility answers live in scattered issue threads.

ToolCairn fixes this with three things you can't get from raw registry APIs:

  • Graph-aware ranking — recommendations consider how tools relate to each other (dependencies, integrations, replacements, conflicts), not just popularity.
  • Version-aware compatibility — declared peer ranges and cross-registry version metadata give you "Next.js 14 needs React 18.x" instead of "they're both popular, probably fine?"
  • A continuous learning loop — every accepted, rejected, or replaced recommendation feeds back into the graph, so quality improves with use.

Quick Start

Step 1. Create a free account at toolcairn.neurynae.com/signup.

Step 2. Add to your MCP config and restart your agent:

json
{  "mcpServers": {    "toolcairn": {      "command": "npx",      "args": ["@neurynae/toolcairn-mcp"]    }  }}

Step 3. A browser window opens for sign-in on first start. Once you confirm, all tools are available immediately — no further setup.

Requires Node.js 22+.


Setup — Claude Code

The fastest path:

bash
claude mcp add toolcairn -- npx @neurynae/toolcairn-mcp

Or paste the JSON block above into ~/.claude/claude_desktop_config.json under mcpServers.

Other MCP-compatible clients (Cursor, Claude Desktop, VS Code Copilot, Windsurf, Zed, …) work with the same npx @neurynae/toolcairn-mcp command — see the docs for client-specific config locations.


What you can do

Find a tool

Your agent receives "I need a real-time analytics database for event tracking" → calls search_tools → gets ranked candidates (ClickHouse, TimescaleDB, InfluxDB, …) with maintenance signals. If the intent is ambiguous, the response carries clarification questions; the agent answers via search_tools_respond and gets refined results.

Build a stack

Your agent receives "Help me architect a full-stack TypeScript SaaS" → calls refine_requirement to decompose, then get_stack with the per-layer needs → gets a 3–5 tool stack (web framework + database + auth + payments) with a version-compatibility matrix showing which versions work together across the stack.

Compare options

"Express vs Fastify for a REST API?" → compare_tools returns side-by-side health (stars, maintenance score, last commit, open issues, contributor trends), graph relationships (what each integrates with, what they replace), and a recommendation grounded in your stated use case.

Check version compatibility

"I want to upgrade Next.js to 14 but keep React 17." → check_compatibility evaluates declared peer ranges and returns satisfied/unsatisfied checks with the source (declared_dependency / graph_edges / shared_neighbors).

Track project tools

On first session, toolcairn_init walks your repo, parses every manifest (package.json, requirements.txt, pyproject.toml, Cargo.toml, go.mod, pom.xml, Gemfile, composer.json, …), classifies each tool against the ToolCairn graph, and writes a local .toolcairn/ snapshot. Subsequent sessions read this snapshot first — your agent stops re-searching for things it already knows about.


Available Tools

The MCP server exposes 16 tools, grouped by purpose. Most are local (no network) or fire-and-forget; the search, compare, and stack tools call the ToolCairn API.

Discovery

ToolWhat it does
search_toolsNatural-language search with health signals and alternatives. May ask clarifying questions when intent is ambiguous.
search_tools_respondSubmit answers to refine an in-progress search.
refine_requirementDecompose a vague use-case ("build a SaaS") into specific, searchable sub-needs.
verify_suggestionCheck whether the agent's tool picks are actually indexed in the ToolCairn graph.

Stacks & Compatibility

ToolWhat it does
get_stackCompose a complementary tool stack with a cross-version compatibility matrix.
compare_toolsHead-to-head: health metrics, graph relationships, and a recommendation.
check_compatibilityVersion-aware peer-range check between two tools.

Project Configuration

ToolWhat it does
toolcairn_initDiscover project roots, scan manifests, classify tools, write .toolcairn/.
read_project_configLoad the local .toolcairn/config.json snapshot (confirmed tools, pending items, audit log).
update_project_configAtomically add, remove, or update a tool — every mutation is audited.

Feedback Loop

ToolWhat it does
report_outcomeFire-and-forget: did the recommended tool work out? Closes the learning loop.
feedbackAgent feedback on ToolCairn itself. Call ONLY when a ToolCairn response was wrong, broken, low-quality, or missed something — never for positive feedback. Free of daily quota.
suggest_graph_updateSubmit a new tool, edge, or use-case for admin review (staged, never auto-promoted).
check_issueLast resort. Search a tool's GitHub issues for known bugs — only after 4+ retries and a docs review.

Session

ToolWhat it does
classify_promptLocal: decide whether a tool search is needed at all (skips ToolCairn for non-tool prompts).
toolcairn_authManage local sign-in: login / status / logout.

Configuration

Environment variableDefaultPurpose
TOOLCAIRN_TRACKING_ENABLEDtrueSet false to disable usage event logging (see Privacy).
LOG_LEVELinfoSet debug for verbose stdio diagnostics.
MCP_TRANSPORTstdioSet http for HTTP transport (advanced).

Where things live

  • Credentials → ~/.toolcairn/credentials.json (mode 0600, 90-day expiry).
  • Per-project state → .toolcairn/{config.json, audit-log.jsonl, tracker.html} at each detected project root.

The tracker.html file is a self-contained dashboard — open it in any browser to see every tool call, pending evaluation, and audit entry in real time.


Session management

Your sign-in lives at ~/.toolcairn/credentials.json and lasts 90 days. From inside your agent:

toolcairn_auth { action: "status" }   # check current sign-intoolcairn_auth { action: "logout" }   # clear credentials

To re-authenticate, simply restart your agent — the sign-in flow opens automatically.


Privacy & telemetry

We're explicit about what leaves your machine.

Sent to ToolCairn (when tracking is enabled):

  • Tool name, duration, and success/error status — for service health and product analytics.
  • Never full prompts, response bodies, or project file contents.

Stays local:

  • Every audit entry (.toolcairn/audit-log.jsonl).
  • Project state and tool snapshots.
  • Your credentials file.

Opt out at any time:

bash
TOOLCAIRN_TRACKING_ENABLED=false

Tools still work normally; only the lightweight usage events are skipped.

Full privacy policy: toolcairn.neurynae.com/privacy.


Troubleshooting

Browser doesn't open for sign-in. Copy the URL printed to stderr and visit it manually; enter the device code shown.

Module not found or version errors. Confirm Node 22+ with node --version.

Behind a corporate proxy. Set HTTPS_PROXY — npx and the MCP server respect it.

Self-hosted backend. Set TOOLPILOT_API_URL=https://your-host.

Sign-in expired. Restart your agent — the device-code flow re-runs automatically.

Verbose logs. Set LOG_LEVEL=debug.

What is the agent doing? Open .toolcairn/tracker.html in your browser for an auto-refreshing dashboard of every tool call.


CLI: scan

A standalone health scan that doesn't start the MCP server:

bash
npx @neurynae/toolcairn-mcp scan [dir]

Reads dependency manifests in [dir] (default: current directory) — package.json, requirements.txt, pyproject.toml, Cargo.toml — and reports health, alternatives, and warnings for each declared dependency.

Add --json for machine-readable output.


Links


Contributing

Issues and feature requests are welcome at github.com/neurynae/toolcairn-mcp/issues.

The graph engine, search pipeline, and indexer are closed-source. This repository contains the public MCP client and project-config layer that runs on user machines.


License

MIT — © 2026 NEURYNAE. See LICENSE.

來源:README.md,提交 8ca7214

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

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

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分