three.ws Brain MCP Server
by nirholasio.github.nirholas/brain-mcpv0.1.3
List LLM providers and run chat completions through the three.ws multi-provider router.
context tax
queued
security
queued
cold start
queued
freshness
Active2d ago
Install three.ws Brain MCP server
Install in Claude Code
claude mcp add brain-nirholas -e THREE_WS_API_KEY='<three-ws-api-key>' -- npx -y @three-ws/brain-mcpInstall in Cursor
{
"mcpServers": {
"brain-nirholas": {
"command": "npx",
"args": [
"-y",
"@three-ws/brain-mcp"
],
"env": {
"THREE_WS_API_KEY": "<three-ws-api-key>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"brain-nirholas": {
"command": "npx",
"args": [
"-y",
"@three-ws/brain-mcp"
],
"env": {
"THREE_WS_API_KEY": "<three-ws-api-key>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"brain-nirholas": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@three-ws/brain-mcp"
],
"env": {
"THREE_WS_API_KEY": "<three-ws-api-key>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"brain-nirholas": {
"command": "npx",
"args": [
"-y",
"@three-ws/brain-mcp"
],
"env": {
"THREE_WS_API_KEY": "<three-ws-api-key>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| THREE_WS_BASE | — | — | Base URL of the three.ws API that fronts the LLM router (/api/brain/chat). Override only when self-hosting or targeting a preview deployment. |
| THREE_WS_API_KEY | — | yes | Optional three.ws API key (sk_live_… / sk_test_…) or OAuth access token, sent as a Bearer token. Required only to use paid first-party flagships (Claude, GPT-5, o3, Grok, Qwen Plus, DeepSeek). Free open-weight tiers (GPT-OSS 120B, NVIDIA NIM models) work with no key. Create one at https://three.ws/dashboard/developers. |
| THREE_WS_TIMEOUT_MS | — | — | Per-request timeout in milliseconds. Chat completions stream server-side and are collapsed into a single reply, so this is generous by default to ride out a long flagship answer. |
Freshness
Active — last maintenance signal 2d ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-10-08 · 2d ago · GitHub
Latest release
2026-09-30 · 9d ago · GitHub · v1.5.2
Package published
no data · npm/PyPI
Registry entry updated
2026-08-19 · 51d ago · official registry · v0.1.3
FAQ
›How do I install the three.ws Brain MCP server in Claude Code?
Run: claude mcp add brain-nirholas -e THREE_WS_API_KEY='<three-ws-api-key>' -- npx -y @three-ws/brain-mcp. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does three.ws Brain require an API key?
Yes. It expects THREE_WS_API_KEY, of which 1 is a secret.
›Can I use three.ws Brain as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is three.ws Brain in the official MCP registry?
Yes, as io.github.nirholas/brain-mcp.
Alternatives to three.ws Brain
Other ai & llm tools MCP servers.