Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@cargoffer/zbe-mcp

MCP (Model Context Protocol) server for checking vehicle routes against Low Emission Zones (ZBE/LEZ) in Spain and Portugal.

Quick Start

npx @cargoffer/zbe-mcp

Tools

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

Configuration

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

Claude Desktop Config

{
  "mcpServers": {
    "zbe": {
      "command": "npx",
      "args": ["@cargoffer/zbe-mcp"],
      "env": {
        "ZBE_API_KEY": "your-api-key"
      }
    }
  }
}

SDKs

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={...})

Links

About

MCP server for ZBE (Low Emission Zones) API - Spain & Portugal

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages