Thinkgate MCP server
io.github.tjp2021/mcp-thinkgate·v0.1.1·3 starsAuto-classifies prompt complexity and routes to the right Claude thinking mode. No API key needed.
3 stars39 downloads/wk
Reviews
Write oneNobody has reviewed Thinkgate yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Thinkgate tools (1)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
classify_complexityClassify a prompt's complexity to determine the optimal Claude thinking mode. Returns the recommended tier (fast/think/ultrathink), effort level for the Anthropic API, suggested model, and the reasoning behind the classification.
Public scan report
scanner v0.1.10 · 2026-09-28 · same rubric, same numbers if you re-run it
- Code scan5 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitystatic API keys via environment variables6/15
- Maintenancelast push 62 days ago12/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
How Thinkgate compares
Against every graded AI and agents MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 78/100
- higher than 57% of 4,460 AI and agents servers
- Tools
- 1
- the typical AI and agents server has 6
- Tools that change things
- 0%
- typical: 0%. Fewer write tools means less an agent can break
- GitHub stars
- 3
- more than 75% of 2,711 AI and agents servers
- Downloads a week
- 39
- more than 31% of 1,538 AI and agents servers with a package
What its tools let an agent do: 1 read
Install Thinkgate in Claude Code, Cursor or VS Code
Runs npx -y mcp-thinkgate on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add mcp-thinkgate -- npx -y mcp-thinkgate
What the publisher says
From the Thinkgate repository's README, as published. We do not edit it. Read it on GitHub
ThinkGate
Automatic reasoning mode selection for Claude agents.
The problem
You built an AI agent. It handles everything — status checks, quick lookups, complex architecture questions, deep debugging sessions. But under the hood it runs every single message through the same model with the same thinking settings.
That means you're burning extended thinking tokens on "what time is it in Tokyo?" and getting shallow answers on "help me design the entire auth system."
You could manually tag requests — ULTRATHINK: before the hard ones. But you forget. Your users definitely won't do it. And if you're building agents for other people, you can't train every end user to manage thinking modes.
ThinkGate fixes this at the infrastructure layer. It sits between the incoming message and your model call, classifies the complexity in ~200ms, and returns exactly which model and thinking depth to use. Automatically. Every time.
Who this is for
- Agent builders running Claude on a mix of simple and complex tasks who are tired of one-size-fits-all model settings
- Teams running 24/7 agents (WhatsApp bots, Slack assistants, Telegram agents) where message complexity varies wildly and cost/latency actually matters
- Anyone who's ever typed ULTRATHINK manually and thought: this should just happen on its own
How it works
Incoming message
↓
Haiku call (~200ms, ~$0.0001)
"How complex is this?"
↓
fast → no extended thinking
think → medium effort
ultrathink → max effort
↓
Claude runs with the right settingsA cheap, fast Haiku call reads your prompt and decides which tier it needs. Then your main Claude call runs with the right effort level. You pay almost nothing for the classification, and save real money (and latency) on the 60%+ of messages that don't need extended reasoning.
The classifier is the IP here — not which model runs it. Three tiers. A system prompt trained on the boundary between "this needs thinking" and "this doesn't." Works out of the box.
Tiers
Profiles (model mapping)
Set THINKGATE_PROFILE or pass { profile } to classifyPrompt:
Per-tier overrides: THINKGATEFASTMODEL, THINKGATETHINKMODEL, THINKGATEULTRAMODEL.
Cost note: the MCP tool is advisory. Hosts must actually switch models. Pi does this via ~/.pi/agent/extensions/thinkgate-router.ts + thinkgate.json.
Rule mode (no API key) is free and preferred for auto-routing. Long checklist pastes no longer auto-upgrade to THINK.
Use as an MCP tool (Claude Desktop / Claude Code)
Add to ~/.claude/settings.json (Claude Code) or ~/Library/Application Support/Claude/claudedesktopconfig.json (Claude Desktop):
{
"mcpServers": {
"thinkgate": {
"command": "npx",
"args": ["-y", "mcp-thinkgate"],
"env": {
"ANTHROPIC_API_KEY": "your-api-key-here"
}
}
}
}Restart Claude. Now you can ask it to classify before it answers:
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Thinkgate: common questions
- Is Thinkgate MCP server safe?
- Mostly: it is graded B (78/100). Read the Thinkgate safety report
- How do I install Thinkgate?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Thinkgate need an API key?
- Yes. The registry entry asks for
ANTHROPIC_API_KEY. - Is Thinkgate maintained?
- The last commit was 99 days ago (2026-07-28). The latest release is v0.1.1.
- What can I use instead of Thinkgate?
- Servers from other publishers that do the same job: Agent-Native Analytics MCP server, Image MCP server and Spotifyscraper MCP server.
- How does Thinkgate compare with other AI and agents MCP servers?
- safety score 78/100 (higher than 57% of 4,460 AI and agents servers); tools 1 (the typical AI and agents server has 6); tools that change things 0% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.
Alternatives to Thinkgate
Same job from other publishers: the closest match first, then the best rated.
- Agent-Native AnalyticsAgent-Native Amplitude/Mixpanel - connect data sources, prompt for chartsnot reviewedEstablishedA
- ImageAI image generation and editing with prompt optimization and quality presetsnot reviewedEstablishedB
- SpotifyscraperPublic Spotify metadata, lyrics and podcasts for LLM agents. No API key, read-only.not reviewedEstablishedB
- Mnemoverse MemoryHosted agent memory that learns from outcomes, with shared rooms. No key: mcp.mnemoverse.com/mcpnot reviewedEstablishedA
- llmtrimMCP server and proxy that compresses LLM prompts, tool output, and replies to cut token cost.not reviewedEstablishedA