ThinkGate

Automatically route Claude requests to the appropriate thinking depth by classifying task complexity at runtime.
  • typescript

0

GitHub Stars

typescript

Language

4 months ago

First Indexed

2 months ago

Catalog Refreshed

Documentation & install

Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.

Installation

Add the following to your MCP client configuration file.

Configuration

View docs
{
  "mcpServers": {
    "tjp2021-mcp-thinkgate": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-thinkgate"
      ],
      "env": {
        "ANTHROPIC_API_KEY": "YOUR_API_KEY"
      }
    }
  }
}

ThinkGate automatically selects the appropriate thinking depth for Claude agents by classifying incoming tasks at the infrastructure level. It sits between your message and the Claude model call, quickly judging complexity and routing each message to the right thinking tier to save cost and latency while preserving quality.

How to use

You use ThinkGate by configuring your MCP client to run the ThinkGate service as an MCP server connector. Your client then automatically classifies each user message and routes the main Claude request to the correct thinking depth (fast, think, or ultrathink). This lets you handle simple prompts with low effort while complex, multi-step tasks receive deeper reasoning, all without manual tagging.

How to install

Prerequisites you need before installation: Node.js 18+ and an Anthropic API key.

Clone the ThinkGate MCP server integration, install dependencies, and start the connector locally.

git clone https://github.com/tjp2021/mcp-thinkgate
cd mcp-thinkgate
npm install
ANTHROPIC_API_KEY=your-key npm start

Available tools

classifyPrompt

Classifies a user message to determine the appropriate thinking tier for Claude (fast, think, ultrathink).

Built by
VeilStrat
AI signals for GTM teams
© 2026 VeilStrat. All rights reserved.All systems operational