three.ws Brain
io.github.nirholas由 GitHub 账号 nirholas 发布v0.1.4更新于 Oct 24, 2026
List LLM providers and run chat completions through the three.ws multi-provider router.
发布方自己的服务:BrainDog
概览
本地 stdio MCP 服务器,让助手通过 three.ws 多供应商路由列出 LLM 供应商并执行对话补全。
- 可以做什么
- 列出可用 LLM 供应商,含标识、网络、档位、最大输出、实时可用性及是否需要密钥
- 通过指定供应商执行对话补全,返回回复内容、实际路由、token 用量与耗时
- 免费开源权重模型无需密钥,付费一线旗舰模型需 three.ws API 密钥
- 所选模型短暂不可用时,自动回退到镜像或免费档位
- 适用场景
- 适合希望助手通过单一端点访问多家模型厂商、而不必逐个接入各家 SDK 的场景,也便于在 Claude、GPT、o3、Grok、Qwen、DeepSeek 与开源权重模型之间比较或路由请求。
- 运行要求
- 通过 npx 在本机运行,需要 Node.js 20 或更高版本。需能访问 three.ws,或用 THREE_WS_BASE 指定自定义地址。可选的 THREE_WS_API_KEY(Bearer 令牌)用于解锁付费旗舰模型;可选的 THREE_WS_TIMEOUT_MS 设置单次请求超时,默认 120000 毫秒。
安装
在 SourceWeft 中
- 打开 控制台中的 three.ws Brain,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
@three-ws/brain-mcp
Any model, one interface — discover LLM providers and run chat completions through the three.ws multi-provider router, from any AI agent.
[npm] [license] [node] [MCP Registry] [three.ws]
A Model Context Protocol server that gives any AI assistant the three.ws multi-provider LLM router over stdio. Discover which models are available — Claude, the GPT-5.6 family, o3, Grok, Qwen, DeepSeek, NVIDIA Nemotron, IBM Granite, and more — and run a chat completion through whichever one fits, without wiring each vendor SDK yourself.
The router fronts every provider behind one endpoint and transparently falls back across mirrors and free tiers if the chosen model is briefly down. The free open-weight tiers (GPT-OSS 120B, NVIDIA NIM models) work with no key; the paid first-party flagships unlock with a three.ws API key.
Install
Or run with npx (no install):
Quick start
Claude Code, one line:
To unlock the paid flagships, pass your three.ws API key:
Claude Desktop / Cursor (claude_desktop_config.json or mcp.json):
Inspect the surface with the MCP Inspector:
Tools
Both tools read live data — the provider set and completions vary between calls, so neither is idempotent. chat does not mutate any platform state, so it is annotated read-only.
Input parameters
list_providers — no parameters.
chat — messages (required: 1–100 turns of { role: "user" | "assistant", content }, content ≤ 16,000 chars), provider (provider key from list_providers, default gpt-oss-120b), system (optional system prompt, ≤ 8,000 chars), maxTokens (optional, 64–16384, default 4096, clamped to the model's ceiling).
Example
Both responses below are shape illustrations — the live provider set and generations will differ.
routed_via is null when the requested provider answered directly; otherwise it names the mirror or free-tier route the router fell back to (so you always get an answer even if the first choice is briefly down).
Model availability is dynamic. Always call
list_providersfirst rather than hardcoding a key. The current Claude ids areclaude-fable-5,claude-opus-5,claude-sonnet-5,claude-opus-4-7,claude-sonnet-4-6, andclaude-haiku-4-5, but the live list is the source of truth.
Authentication
Create an API key at three.ws/dashboard/developers. Without it, paid models return a sign-in error and list_providers flags them with requiresAuth: true.
Requirements
- Node.js >= 20.
- Network access to
https://three.ws(or your ownTHREE_WS_BASE).
Environment variables
Errors
A failed tool call returns an MCP error result (isError: true) whose text is a single JSON object — { "ok": false, "error": "<code>", "message": "…" }, plus status and detail on upstream rejections:
If the requested provider fails mid-flight the router transparently falls back to a mirror or free tier and the reply's routed_via names the route taken — you only see an error when every route is exhausted.
Links
- Homepage: https://three.ws
- Changelog: https://three.ws/changelog
- Issues: https://github.com/nirholas/three.ws/issues
- License: Apache-2.0, see LICENSE
Part of the three.ws SDK suite — 3D AI agents, on-chain identity, and agent payments.
Website · Changelog · GitHub
来源:packages/brain-mcp/README.md,提交 c8f2cde
工具
0版本历史
2- v0.1.4最新Oct 10, 2026
- v0.1.3Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分
其他 Brain 集成

BrainDog
dog.brain官方发布者
BrainDog 是一个托管记录库,集中保存项目、决策与资金,接入的 AI 代理在开工前读取、结束后写入。

Codebase Brain
由 GitHub 账号 Nomannazir 发布
为本地或公开 git 代码库建立索引,让助手能检索代码、追溯 git 历史、分析改动影响并发现过期文档,结果均带路径与行号引用。

Personal Brain
由 GitHub 账号 zhang-liz 发布
为 AI 助手提供职业人脉记忆,数据以图的形式存放在 FalkorDB 中,可查询联系人、按话题找人并记录你见过的人。

Second Brain
由 GitHub 账号 ara-5 发布
面向AI智能体的共享Graph-RAG记忆:markdown vault、wikilink召回、任务、消息传递。AI 翻译

Make0 Brain
由 GitHub 账号 make0-official 发布
本地离线的记忆服务器,让 Claude Code、Cursor、Codex 等 MCP 代理共享同一份带版本记录的持久事实库。