Hebline MCP Server
Provides translation services through the Hebline intelligent routing engine, allowing agents to perform text translation with high accuracy.
Enables geocoding capabilities, allowing agents to convert addresses into geographic coordinates via the Google Maps API.
Integrates translation capabilities into the Hebline routing system, providing an additional provider for automated language processing tasks.
Provides free geocoding services through Nominatim, allowing agents to resolve location queries into spatial data without requiring an API key.
Hebline MCP Server
Your agents overpay for every API call. We fix that.
Hebline routes every API call — including LLM calls — to the best service at the right price. Free when it's enough. Paid when it matters. It knows the difference.
Every other router earns a margin on your paid calls. Routing you to free alternatives kills their revenue. No margin on your API calls. Ever.
Why Hebline?
Your agents are bleeding money. One task triggers 5–10 paid API calls across different providers. No transparency, no cost control. Hebline fixes that:
Route free first — Most calls don't need the best model. Hebline learns precisely when it matters — and keeps learning as the market changes.
No margin. Honest routing. — We don't earn when you pay more. So we're the only router built to actually save you money.
Provider Abstraction — Your agent says what it needs ("geocode this address"), not which service to use. Swap providers without changing agent code.
Cost Transparency — Every call is logged with service used, latency, and cost. Know exactly what your agents spend.
Learns from usage — Hebbian learning strengthens what works, weakens what doesn't. Your broker gets smarter every day.
BYOK (Bring Your Own Key) — Paid services use your API keys via environment variables. No key? The service is automatically excluded from routing.
GDPR compliant — Only anonymized metadata logged. No API call content stored. Self-hosted option for zero data leaving your network.
Open Source — Core MCP server is MIT licensed. Community-driven adapter system.
Related MCP server: Clawy MCP Server
How It Works
Your AI Agent ←→ Hebline MCP Server ←→ Best API (Nominatim, DeepL, Google Maps, ...)
│
Smart Routing
Cost Logging
Provider ScoringYour agent connects to Hebline as an MCP server. Instead of calling APIs directly, it uses Hebline's tools — execute, compare, or categories. Hebline scores all available services, picks the best one, makes the call, and returns the result with full metadata.
Available MCP Tools
Tool | Description |
| Route to the best service and make the API call. Returns result + metadata (service, cost, latency). |
| Show all available services for a capability with scores. See what's available before committing. |
| List all supported capabilities and their services. |
Quick Start
Add to Claude Desktop
Add to claude_desktop_config.json:
{
"mcpServers": {
"hebline": {
"command": "npx",
"args": ["-y", "-p", "@hebline.ai/mcp-server", "hebline-mcp"]
}
}
}Add to Claude Code
Add to .mcp.json:
{
"mcpServers": {
"hebline": {
"command": "hebline-mcp"
}
}
}Add to Cursor
Add to .cursor/mcp.json:
{
"mcpServers": {
"hebline": {
"command": "npx",
"args": ["-y", "-p", "@hebline.ai/mcp-server", "hebline-mcp"]
}
}
}Add to Windsurf
Add to ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"hebline": {
"command": "npx",
"args": ["-y", "-p", "@hebline.ai/mcp-server", "hebline-mcp"]
}
}
}Add to VS Code (Copilot)
Add to .vscode/mcp.json:
{
"servers": {
"hebline": {
"type": "stdio",
"command": "npx",
"args": ["-y", "-p", "@hebline.ai/mcp-server", "hebline-mcp"]
}
}
}Install globally
npm install -g @hebline.ai/mcp-serverWith paid services (optional)
Set environment variables for any paid providers you want to use:
GOOGLE_MAPS_API_KEY=your-key-here
DEEPL_API_KEY=your-key-here
LIBRETRANSLATE_API_KEY=your-key-hereNo keys? No problem — Hebline routes to free alternatives automatically.
Supported Services
Category | Free | Paid (BYOK) |
LLMs | Groq (Llama 3.3 70B), Google Gemini Flash | OpenAI GPT-4o-mini ( |
Geocoding | Nominatim (OpenStreetMap) | Google Maps ( |
Translation | MyMemory | DeepL ( |
Web Scraping | Fetch Scraper | Firecrawl ( |
Currency | ExchangeRate-API | Fixer.io ( |
OCR | OCR.space | Google Vision ( |
Weather | Open-Meteo | OpenWeatherMap ( |
Web Search | DuckDuckGo | Brave Search ( |
News | HackerNews | NewsAPI.org ( |
9 categories, 20 services. Free services work instantly — no API key needed. LLMs route through the Hebline proxy when no local key is set (50 free calls/day).
Example
An agent asks: "Geocode the Brandenburg Gate in Berlin"
Hebline receives:
{
"capability": "geocoding",
"input": { "query": "Brandenburger Tor, Berlin" },
"constraint": "free"
}Hebline responds:
{
"success": true,
"data": {
"lat": 52.5163,
"lon": 13.3777,
"displayName": "Brandenburger Tor, Pariser Platz, Berlin, 10117, Deutschland"
},
"meta": {
"service": "Nominatim (OpenStreetMap)",
"costUsd": 0,
"latencyMs": 258,
"score": 0.702,
"free": true
}
}The agent got coordinates, knows it was free, and Hebline logged the call for future analysis.
Architecture
mcp-server/
├── src/
│ ├── index.ts # MCP server entry point (stdio transport)
│ ├── types.ts # Shared TypeScript types
│ ├── registry.ts # Service definitions (capabilities, costs, scores)
│ ├── router.ts # Weighted scoring engine (Hopfield-ready)
│ ├── logger.ts # Append-only JSONL call log (~/.hebline/calls.jsonl)
│ ├── adapters/ # One adapter per service
│ │ ├── nominatim.ts # Free geocoding
│ │ ├── google-maps.ts # Paid geocoding (BYOK)
│ │ ├── mymemory.ts # Free translation
│ │ ├── libretranslate.ts # Paid translation (BYOK)
│ │ └── deepl.ts # Paid translation (BYOK)
│ └── tools/ # MCP tool definitions
│ ├── execute.ts # Route + call best service
│ ├── compare.ts # Score all services
│ └── categories.ts # List capabilitiesCall Logging
Every API call is logged to ~/.hebline/calls.jsonl:
{"timestamp":"2026-03-29T09:36:37Z","capability":"geocoding","serviceId":"nominatim","latencyMs":212,"success":true,"costUsd":0}No content is logged — only metadata. This data will power Hebbian Learning in future versions.
Roadmap
Core MCP server with stdio transport
Weighted scoring router
Geocoding adapters (Nominatim, Google Maps)
Translation adapters (MyMemory, LibreTranslate, DeepL)
BYOK key management
Append-only call logging
CI/CD with GitHub Actions
Hebbian Learning — router learns from call history
Hopfield network scoring (replaces weighted scoring)
More categories (web scraping, currency, OCR, email)
Community adapter system
SSE transport for remote deployments
Web dashboard for cost analytics
Budget alerts and spending limits
Multi-agent cost attribution
Contributing
Contributions are welcome! Adding a new adapter is straightforward — implement the ServiceAdapter interface and register it.
git clone https://github.com/hebline/mcp-server.git
cd mcp-server
npm install
npm run build
npm testLicense
Built by Hebline — Route free first. Only pay when necessary.
Available Tools
3 toolscategoriesB
List all capabilities Hebline supports and which services are available for each.
Inputs: no named parameters.
compareB
Compare all available services for a capability. Shows scores, costs, and Hebline's recommendation.
Inputs: capability (required), constraint, region.
executeB
Route to the best service and execute the API call. Returns result with metadata (service used, cost, latency).
Inputs: capability (required), input (required), constraint, region.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 3 tools
Each tool has a clearly distinct purpose with no overlap: 'categories' lists capabilities and services, 'compare' analyzes service options with recommendations, and 'execute' routes and runs API calls. The separation between listing, comparing, and executing is unambiguous.
All tool names follow a consistent verb-only pattern in lowercase, with no mixing of conventions. The naming is straightforward and predictable across the set.
Three tools is well-scoped for the server's purpose of managing and executing API services through Hebline. Each tool earns its place by covering a distinct phase: discovery, comparison, and execution.
The tool set provides complete coverage for the domain: it allows agents to discover capabilities, compare service options, and execute calls with metadata. There are no obvious gaps in the workflow from start to finish.
Maintenance
Related MCP Connectors
AI model routing on your own vendor keys: pick the best model per prompt, or route and run it.
One API key for every AI model, usually below list price.
AI service marketplace — agents discover, call, and pay for API services automatically.
One API for agents: web, SEO, media and doc tools, plus your email, calendars, ads and social.
Related MCP Servers
- FlicenseNot gradedqualityNot gradedmaintenanceUniversal AI API Orchestrator. 850 tools across 53 services under a single MCP interface. Connect Claude, GPT, or Gemini to Stripe, Slack, GitHub, LinkedIn, Cloudflare, Shopify, Twilio, and 46 more via natural language. $0.10/execution, no subscription. Patent Pending.274 npm5-
- AlicenseBqualityDmaintenancePay-per-use API tools and LLM gateway for AI agents. 15 services (DART, Tabelog, Google Maps, Brave Search, Firecrawl, DeepL, ElevenLabs, and more) + smart LLM routing. No API keys needed, pay with USDC on Base.2574 npm2MIT
- AlicenseNot gradedqualityDmaintenanceCompare AI inference pricing across 9 providers in real time. Routing recommendations, spend tracking, and budget alerts for AI agents.MIT
- AlicenseAqualityAmaintenanceRoutes your AI tasks to the best available model across 20+ providers — automatically selecting based on task type, budget, and subscription pressure. Supports text, image, video, and audio with built-in cost optimization and fallback chains.60503 PyPI130MIT