Tolls Server
БесплатноНе проверенCalculate toll costs, list operators, and get tariff data across Spain, Portugal, and France through an LLM assistant.
Описание
Calculate toll costs, list operators, and get tariff data across Spain, Portugal, and France through an LLM assistant.
README
Model Context Protocol server for the TRANSCEND Tolls Calculator API.
Calculate toll costs, list operators, and get tariff data across Spain, Portugal, and France — all from your LLM assistant.
Tools
| Tool | Description |
|---|---|
calculate_toll |
Calculate toll costs between two coordinates for a vehicle type |
list_operators |
List all toll operators with their highways and countries |
get_tariffs |
Get toll tariffs for a specific operator and vehicle type |
health_check |
Check if the API service is healthy |
Quick Start
Requirements
- Python 3.10+
httpx
Install & Run
pip install httpx
python server.py
With Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"tolls": {
"command": "python",
"args": ["/path/to/server.py"],
"env": {
"TOLLS_API_URL": "https://tolls.transcend.cargoffer.com"
}
}
}
}
Environment Variables
| Variable | Default | Description |
|---|---|---|
TOLLS_API_URL |
https://tolls.transcend.cargoffer.com |
API base URL |
TOLLS_API_KEY |
"" |
Optional API key for authenticated endpoints |
API
The MCP server wraps the TRANSCEND Tolls Calculator REST API.
calculate_toll
Calculate toll costs between two coordinates.
Parameters:
origin_lat,origin_lng— Origin coordinatesdestination_lat,destination_lng— Destination coordinatesvehicle_type—light,truck,bus, ormotorcycle(default:truck)
Example response:
{
"totalCost": 14.64,
"currency": "EUR",
"segments": [
{
"highway": "C-16",
"operator": "autema",
"cost": 14.64,
"distance_km": 45.2
}
]
}
list_operators
List toll operators. Optional country filter (ES, PT, FR).
get_tariffs
Get detailed tariffs for an operator. Parameters:
operator— e.g.autema,atlandes,brisavehicle_type— Optional filter
Deployment
Docker
docker build -t tolls-mcp .
docker run -e TOLLS_API_URL=https://tolls.transcend.cargoffer.com tolls-mcp
Coolify
- Create a new service in Coolify
- Set the Docker image or use the Dockerfile
- Set env vars in the Coolify dashboard
- Domain:
mcp.tolls.cargoffer.com
License
MIT
Установка Tolls Server
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/cargoffer/tolls-mcp-serverFAQ
Tolls Server MCP бесплатный?
Да, Tolls Server MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Tolls Server?
Нет, Tolls Server работает без API-ключей и переменных окружения.
Tolls Server — hosted или self-hosted?
Доступен hosted-вариант: Unyly запускает сервер в облаке, локальная установка не обязательна.
Как установить Tolls Server в Claude Desktop, Claude Code или Cursor?
Открой Tolls Server на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
Fetch
Web content fetching and conversion for efficient LLM usage.
AWS KB Retrieval
Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.
автор: modelcontextprotocolSpring AI MCP Server
Provides auto-configuration for setting up an MCP server in Spring Boot applications.
llm-analysis-assistant
A very streamlined mcp client that supports calling and monitoring stdio/sse/streamableHttp, and can also view request responses through the /logs page. It also
автор: xuzexin-hzCompare Tolls Server with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории ai
