three.ws Brain
local MCP serverthree.ws Brain is a local MCP server: List LLM providers and run chat completions through the three.ws multi-provider router. Install it from npm as @three-ws/brain-mcp.
Installation
Terminal
claude mcp add io-github-nirholas-brain-mcp -e THREE_WS_BASE=... -e THREE_WS_API_KEY=... -e THREE_WS_TIMEOUT_MS=... -- npx -y @three-ws/brain-mcp
Run in your project folder. Add --scope user to use it everywhere.
Claude Desktop, Cursor & other clients
Add to claude_desktop_config.json or .cursor/mcp.json.
{
"mcpServers": {
"io-github-nirholas-brain-mcp": {
"command": "npx",
"args": [
"-y",
"@three-ws/brain-mcp"
],
"env": {
"THREE_WS_BASE": "...",
"THREE_WS_API_KEY": "...",
"THREE_WS_TIMEOUT_MS": "..."
}
}
}
}Fill in the environment variables with your own credentials.
What you need
- Runtime: Node.js 18+ (runs with npx).
- MCP client: Claude Code, Codex, Antigravity, Claude Desktop, Cursor or any other client that speaks MCP over stdio.
- Environment variables:
THREE_WS_BASE,THREE_WS_API_KEY,THREE_WS_TIMEOUT_MS
Summary
List LLM providers and run chat completions through the three.ws multi-provider router.
three.ws Brain vs similar servers
| Server | Stars | Type | API key | Runtime |
|---|---|---|---|---|
| three.ws Brain | 218 | Local | Yes | npm |
| notifykit | 109 | Local | No | npm |
| GitHub | 33K | Hosted | No | None |
| OpenWork MCP Gateway | 24K | Hosted | No | None |
| Nhost | 9,317 | Local | Yes | oci |
Questions
It reads 3 environment variables: THREE_WS_BASE, THREE_WS_API_KEY, THREE_WS_TIMEOUT_MS. Set them in your MCP config before starting the server.
Node.js 18+ (runs with npx), plus an MCP client such as Claude Code, Codex, Claude Desktop or Cursor.
three.ws Brain is a local MCP server distributed as the npm package @three-ws/brain-mcp.
Run: claude mcp add io-github-nirholas-brain-mcp -e THREE_WS_BASE=... -e THREE_WS_API_KEY=... -e THREE_WS_TIMEOUT_MS=... -- npx -y @three-ws/brain-mcp
Run: codex mcp add io-github-nirholas-brain-mcp --env THREE_WS_BASE=... --env THREE_WS_API_KEY=... --env THREE_WS_TIMEOUT_MS=... -- npx -y @three-ws/brain-mcp
Similar MCP servers
NameStars
- notifykitio.github.sathergate/notifykit109
- GitHubio.github.github/github-mcp-server33K
- OpenWork MCP Gatewaycom.openworklabs/openwork24K
- Nhostio.github.nhost/mcp9,317
- Agent-Native Dispatchio.github.BuilderIO/agent-native-dispatch6,874
- exaai.exa/exa5,056
- ha-mcpio.github.homeassistant-ai/ha-mcp4,868
- treg.toio.github.superdesigndev/treg3,615