Purpose
pumperly-mcp is a small bridge service used to expose any Pumperly instance as an MCP server, thereby allowing AI agents to query fuel prices, find gas stations, plan routes, and geocode locations.
Main capabilities
Provides five tools:
- find_nearest_stations
- get_stations_in_area
- calculate_route
- find_route_stations
- geocode
Provides three read-only resources:
- pumperly://config
- pumperly://stats
- pumperly://exchange-rates
Supports two transport methods: stdio, and HTTP running on a single /mcp endpoint.
Usage
Provides an npm package, which downloads the release binary for the corresponding platform and runs it via stdio. Provides Docker images for amd64 and arm64. Can be used with the public instance on pumperly.com, or with your own instance: set PUMPERLY_URL. No API key is required: it reads the Pumperly API anonymously. The configuration can be added to the MCP client configuration (Claude Desktop, Claude Code, Cursor, etc. read the mcpServers format). For HTTP transport (/mcp on port 8080), run the Docker image; see "Getting started".
Applicable scenarios and limitations
Suitable for scenarios that require enabling AI agents to query real-time fuel and electric vehicle charging prices, search for stations, and plan routes. The license is GPL-3.0-or-later. For more details on specific setup steps, environment variable configuration, request flows for tools and resources, and testing with Inspector, please refer to the "Getting started", "Configuration", "Usage", and "Related projects" documentation in the repository.