MCP (Model Context Protocol) server for checking vehicle routes against Low Emission Zones (ZBE/LEZ) in Spain and Portugal.
npx @cargoffer/zbe-mcp| Tool | Description |
|---|---|
zbe.checkRoute |
Check if a vehicle route intersects ZBE polygons |
zbe.listPolygons |
List ZBE polygons with optional filters |
zbe.getStats |
Get coverage statistics |
zbe.getBadgeInfo |
Get info about DGT environmental badges |
zbe.getVehicleRestrictions |
Get vehicle access rules for a specific city |
| Environment Variable | Default | Description |
|---|---|---|
ZBE_API_URL |
https://zbe.transcend.cargoffer.com/api |
ZBE API base URL |
ZBE_API_KEY |
(none) | API key for authentication |
{
"mcpServers": {
"zbe": {
"command": "npx",
"args": ["@cargoffer/zbe-mcp"],
"env": {
"ZBE_API_KEY": "your-api-key"
}
}
}
}TypeScript: @cargoffer/zbe-sdk
import { ZbeClient } from '@cargoffer/zbe-sdk';
const client = new ZbeClient({ apiKey: 'YOUR_KEY' });
const result = await client.checkRoute({...});Python: cargoffer-zbe
from zbe_client import ZbeClient
client = ZbeClient(api_key="YOUR_KEY")
result = await client.check_route(route=[...], vehicle={...})- GitHub: https://github.com/cargoffer/zbe-mcp-server
- API Docs: https://zbe.transcend.cargoffer.com/api/docs.json
- Website: https://zbe.cargoffer.com
- Report issues: https://github.com/cargoffer/zbe-mcp-server/issues