ToolRoute
ToolRoute
Routing-Ebene für KI-Agenten. Ein Aufruf liefert den besten MCP-Server und das beste LLM für jede Aufgabe — bewertet anhand von 132 echten Benchmark-Ausführungen.
Schnellstart
Zu jedem MCP-Client hinzufügen (Claude Code, Cursor, Windsurf, Cline):
{
"mcpServers": {
"toolroute": {
"url": "https://toolroute.io/api/mcp"
}
}
}Oder via HTTP:
curl -X POST https://toolroute.io/api/route \
-H "Content-Type: application/json" \
-d '{"task": "search the web for recent AI papers"}'{
"approach": "mcp_server",
"recommended_skill": "exa-mcp-server",
"recommended_model": "gemini-flash-2.0",
"confidence": 0.91
}Related MCP server: Playwright MCP Server
Funktionsweise
Jede Aufgabe fällt in einen von drei Ansätzen:
Ansatz | Wann | Rückgabe |
| Aufgabe benötigt nur ein LLM (Code, Schreiben, Analyse) | Bestes Modell + Kostenschätzung |
| Aufgabe benötigt ein externes Tool (Suche, E-Mail, Kalender) | Bestes Tool + bestes Modell |
| Zusammengesetzte Aufgabe („Sende Slack UND aktualisiere Jira UND E-Mail“) | Geordnete Orchestrierungskette |
Das Routing verwendet einen LLM-Klassifikator (~$0,00001/Aufruf) für das Aufgabenverständnis und bewertet dann die Kandidaten anhand eines 5-Dimensionen-Scores:
Value Score = 0.35 × Output Quality
+ 0.25 × Reliability
+ 0.15 × Efficiency
+ 0.15 × Cost
+ 0.10 × TrustJedes gemeldete Ergebnis aktualisiert die Scores. Das Routing wird genauer, je mehr Agenten es verwenden.
Benchmark-Ergebnisse
132 blinde A/B-Ausführungen in den Bereichen Code, Schreiben, Analyse, strukturierte Ausgabe und Übersetzung.
ToolRoute | Festes GPT-4o | |
Qualitätssiege | 6 | 0 |
Unentschieden | 9 | 9 |
Verluste | 0 | — |
Durchschnittskosten | $0,001–0,01 | $0,03–0,10 |
API
Endpunkt | Methode | Beschreibung |
| POST | Route eine Aufgabe an den besten MCP-Server + LLM |
| POST (JSON-RPC) | MCP-Server — 16 Tools |
| GET (SSE) | SSE-Transport für MCP-Clients |
| POST | Modellergebnis melden |
| POST | Modell-Ausgabequalität verifizieren |
| GET | MCP-Server-Katalog durchsuchen |
| POST | Agentenidentität registrieren |
Vollständige Referenz unter toolroute.io/api-docs
SDK
npm install @toolroute/sdkimport { ToolRoute } from '@toolroute/sdk'
const tr = new ToolRoute()
const rec = await tr.route({ task: 'parse this CSV and summarize it' })
// execute with rec.recommended_model ...
await tr.report({ skill: rec.recommended_skill, outcome: 'success', latency_ms: 1400 })Self-Hosting
git clone https://github.com/grossiweb/ToolRoute.git
cd ToolRoute
cp .env.local.example .env.local
npm install
npm run devErfordert: NEXT_PUBLIC_SUPABASE_URL, NEXT_PUBLIC_SUPABASE_ANON_KEY, SUPABASE_SERVICE_ROLE_KEY
Funktionsweise des Routings
ToolRoute klassifiziert jede Aufgabe mithilfe eines LLM-Klassifikators (Gemini Flash Lite, ~$0,00001/Aufruf) mit einem Keyword-Fallback. Die resultierende Stufe wird über src/lib/routing/tiers.ts einem bestimmten Modell zugeordnet. Live-Preise und Fähigkeitsdaten stammen aus der models-Tabelle. Siehe docs/architecture.md für das Gesamtbild.
Stack
Next.js 14 (App Router) · Supabase (Postgres) · Vercel
Lizenz
MIT
This server cannot be deployed
Maintenance
Related MCP Connectors
Cost-optimized LLM model routing recommendations for autonomous AI agents
One MCP endpoint for Claude, GPT & Gemini: 100+ tools + no-code connectors + agent workers.
HiveCompute MCP Server — decentralized inference router for AI agents
MCP server for building and testing AI agents with multi-model experimentation and insights.
Related MCP Servers
- AlicenseAqualityCmaintenanceA Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.814,508 npm5,048MIT

Playwright MCP Serverofficial
AlicenseBqualityAmaintenanceA Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.16257,529,920 npm37,580Apache 2.0- AlicenseAqualityAmaintenanceMCP Server that enables LLMs to interact with the local filesystem.13865 npm23MIT
- AlicenseNot gradedqualityDmaintenanceA model routing advisor for autonomous agents — get cost-optimised LLM recommendations via MCP.12 npmMIT