pumperly-mcp
Pumperly-MCP exposes a Pumperly fuel station instance as an MCP server, enabling LLMs to query real-time fuel prices, discover stations, plan routes, and geocode locations.
Find Nearest Stations (
find_nearest_stations): Search for fuel stations closest to a given coordinate, filtered by fuel type (e.g., B7, E5, EV), with configurable radius and result limit.Get Stations in Area (
get_stations_in_area): Retrieve all fuel stations within a specified bounding box for a given fuel type.Calculate Route (
calculate_route): Compute a driving route between an origin and destination, with optional waypoints.Find Route Stations (
find_route_stations): Discover fuel stations within a corridor along a route (provided as a GeoJSON LineString), filtered by fuel type.Geocode (
geocode): Convert a place name, address, or POI query into geographic coordinates, with optional lat/lon biasing for more relevant results.Read Resources (read-only): Access configuration (
pumperly://config), statistics (pumperly://stats), and exchange rates (pumperly://exchange-rates).
Transport options include HTTP (JSON-RPC over /mcp) or stdio (via npm).
What you get
Type | What for | MCP URI / Tool id |
Resources | Browse configuration, statistics, and exchange rates read-only |
|
Tools | Find stations, calculate routes, and geocode locations |
|
Everything is exposed over a single JSON-RPC endpoint (/mcp).
LLMs / Agents can: initialize -> readResource -> listTools -> callTool ... and so on.
Related MCP server: Foundry MCP Server
Quick-start (Docker Compose)
services:
pumperly-mcp:
image: drumsergio/pumperly-mcp:latest
ports:
- "127.0.0.1:8080:8080"
environment:
- PUMPERLY_URL=https://pumperly.comSecurity note: The HTTP transport listens on
127.0.0.1:8080by default. If you need to expose it on a network, place it behind a reverse proxy with authentication.
Install via npm (stdio transport)
npx pumperly-mcpOr install globally:
npm install -g pumperly-mcp
pumperly-mcpThis downloads the pre-built Go binary from GitHub Releases for your platform and runs it with stdio transport. Requires at least one published release.
Local build
git clone https://github.com/GeiserX/pumperly-mcp
cd pumperly-mcp
# (optional) create .env from the sample
cp .env.example .env && $EDITOR .env
go run ./cmd/serverConfiguration
Variable | Default | Description |
|
| Pumperly instance URL (without trailing /) |
|
| HTTP listen address (Docker sets |
| (empty = HTTP) | Set to |
Put them in a .env file (from .env.example) or set them in the environment.
Testing
Tested with Inspector and it is currently fully working. Before making a PR, make sure this MCP server behaves well via this medium.
Example configuration for client LLMs
{
"schema_version": "v1",
"name_for_human": "Pumperly-MCP",
"name_for_model": "pumperly_mcp",
"description_for_human": "Query real-time fuel prices, find stations, plan routes, and geocode locations via Pumperly.",
"description_for_model": "Interact with a Pumperly instance that aggregates fuel station data. First call initialize, then reuse the returned session id in header \"Mcp-Session-Id\" for every other call. Use readResource to fetch URIs that begin with pumperly://. Use listTools to discover available actions and callTool to execute them.",
"auth": { "type": "none" },
"api": {
"type": "jsonrpc-mcp",
"url": "http://localhost:8080/mcp",
"init_method": "initialize",
"session_header": "Mcp-Session-Id"
},
"logo_url": "https://pumperly.com/logo.png",
"contact_email": "acsdesk@protonmail.com",
"legal_info_url": "https://github.com/GeiserX/pumperly-mcp/blob/main/LICENSE"
}Credits
Pumperly -- real-time fuel price aggregation
MCP-GO -- modern MCP implementation
GoReleaser -- painless multi-arch releases
Maintainers
Contributing
Feel free to dive in! Open an issue or submit PRs.
Pumperly-MCP follows the Contributor Covenant Code of Conduct.
Other MCP Servers by GeiserX
cashpilot-mcp — Passive income monitoring
duplicacy-mcp — Backup health monitoring
genieacs-mcp — TR-069 device management
lynxprompt-mcp — AI configuration blueprints
telegram-archive-mcp — Telegram message archive
Related Projects
Project | Description |
Open-source fuel and EV route planner with real-time prices | |
Official Android app for Pumperly fuel and EV route planner | |
Home Assistant custom integration for Pumperly fuel and EV charging prices | |
n8n community node for Pumperly fuel and EV charging data |
Available Tools
5 toolscalculate_routeCDestructive
Calculate a driving route between two points
| Name | Required | Description | Default |
|---|---|---|---|
| dest_lat | Yes | Destination latitude | |
| dest_lon | Yes | Destination longitude | |
| origin_lat | Yes | Origin latitude | |
| origin_lon | Yes | Origin longitude | |
| waypoints | No | Optional JSON array of waypoints as [[lon,lat],...] |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
The description does not address the destructiveHint annotation, which suggests side effects. 'Calculate' implies a read-only computation, but the tool may modify state. No explanation of what gets destroyed or other behavioral traits is given.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, clear sentence with no redundant words. It is front-loaded with the core purpose, though it could be expanded to include output hints without losing conciseness.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The description lacks information about the return value (e.g., does it return geometry, duration, distance?) and does not clarify the destructive hint. Given no output schema, these omissions reduce completeness.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
All parameters are described in the input schema with clear names and types. The description adds no extra meaning beyond 'driving route', so it meets the baseline for full schema coverage.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states 'Calculate a driving route between two points', specifying the action and resource. It distinguishes from sibling tools like geocode or find_nearest_stations, which are about location data and stations rather than route calculation.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No guidance is provided on when to use this tool versus alternatives. For instance, it could mention that for station-specific queries, sibling tools like find_route_stations are appropriate, but it does not.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
find_nearest_stationsCDestructive
Find fuel stations nearest to a coordinate
| Name | Required | Description | Default |
|---|---|---|---|
| fuel | Yes | Fuel type code (e.g. B7, E5, E10, E85, LPG, CNG, LNG, EV) | |
| lat | Yes | Latitude of the search centre | |
| limit | No | Maximum number of results (default 5) | |
| lon | Yes | Longitude of the search centre | |
| radius_km | No | Search radius in kilometres (default 10) |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotation contradiction: description says 'find' (non-destructive) but annotations have destructiveHint=true, implying potential data modification. No additional behavioral context provided.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Single sentence with no wasted words, front-loads the essential action.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
No output schema, so description should hint at return type or behavior. Fails to mention destructive nature suggested by annotations, leaving agent uncertain about side effects.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100% with descriptions for all parameters. Description adds no extra meaning beyond schema, so baseline 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
Description clearly states the purpose (find fuel stations nearest to coordinate), but doesn't explicitly differentiate from sibling tool 'get_stations_in_area' which likely also returns stations by area.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No guidance on when to use this tool vs alternatives like get_stations_in_area or find_route_stations. Context signals show sibling tools but description offers no usage advice.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
find_route_stationsCDestructive
Find fuel stations along a route corridor
| Name | Required | Description | Default |
|---|---|---|---|
| corridor_km | No | Corridor width in kilometres (default 5) | |
| fuel | Yes | Fuel type code (e.g. B7, E5, E10, E85, LPG, CNG, LNG, EV) | |
| geometry | Yes | GeoJSON LineString as a JSON string, e.g. {"type":"LineString","coordinates":[[lon,lat],...]} |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
The description claims a read operation ('Find') while annotations set destructiveHint=true, suggesting data modification. This contradiction is not addressed. No additional behavioral context beyond the purpose is provided.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Single sentence with no wasted words. However, it is too brief given the contradiction and lack of usage guidance, slightly reducing effectiveness.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Despite low complexity, the description is incomplete: it does not explain the output, does not resolve the annotation contradiction, and assumes the agent knows what 'route corridor' means. A more complete description would include output format and usage notes.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Input schema has 100% coverage with descriptions for each parameter (corridor_km, fuel, geometry). The tool description does not add new semantic details beyond what the schema provides, so a baseline of 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description 'Find fuel stations along a route corridor' clearly states the verb and resource, and implies the corridor context. It distinguishes from siblings like 'find_nearest_stations' (point-based) and 'get_stations_in_area' (area-based), though not explicitly.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No explicit guidance on when to use this tool vs alternatives like find_nearest_stations or get_stations_in_area. Usage is implied by the description and the required geometry parameter (GeoJSON LineString), but no exclusion or prerequisite details.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
geocodeBDestructive
Search for a location by name (geocoding)
| Name | Required | Description | Default |
|---|---|---|---|
| lat | No | Optional latitude for geographic biasing | |
| lon | No | Optional longitude for geographic biasing | |
| query | Yes | Search query (e.g. city name, address, POI) |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Description says 'search' (read-like), but annotations set destructiveHint=true, suggesting modification. This contradiction confuses agent behavior. Description adds no further behavioral context.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Single sentence is concise and front-loaded, but lacks structure (e.g., no sections) and provides minimal detail for a 3-param tool.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
With contradictory annotations and no output schema, description misses essential return format info and fails to disclose behavioral implications, leaving the agent underinformed.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema has 100% description coverage, but description adds geocoding context ('by name') beyond param details. This clarifies the tool's purpose and differentiates forward vs reverse geocoding.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
Description clearly states verb 'search' and resource 'location by name' (geocoding), distinguishing it from sibling tools like calculate_route and find_nearest_stations.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Description implies geocoding use via 'search by name' but provides no explicit when-to-use vs alternatives, no exclusions, and no context-sensitive guidance.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_stations_in_areaBDestructive
Get fuel stations within a bounding box
| Name | Required | Description | Default |
|---|---|---|---|
| bbox | Yes | Bounding box as "minLon,minLat,maxLon,maxLat" | |
| fuel | Yes | Fuel type code (e.g. B7, E5, E10, E85, LPG, CNG, LNG, EV) |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
The description says 'Get' implying a read-only operation, but annotations indicate readOnlyHint=false and destructiveHint=true, suggesting potential side effects or data destruction. This is a direct contradiction, and the description fails to disclose any behavioral traits beyond the basic action.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, concise sentence with no wasted words. However, it could be slightly more informative without losing conciseness, e.g., by noting the return type or limitations.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the potential for destructive behavior (per annotations), the lack of explanation about side effects, return format, or operational limits makes the description incomplete. The minimal information does not compensate for the complexity implied by annotations.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100% for both parameters (bbox format and fuel type codes). The description adds no extra meaning beyond what the schema already provides, so a baseline score of 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description 'Get fuel stations within a bounding box' clearly states the verb (Get), resource (fuel stations), and scope (bounding box). It effectively differentiates from sibling tools like find_nearest_stations (point-based) and find_route_stations (route-based).
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies usage when a bounding box is available, but it does not explicitly state when to use this tool over alternatives like find_nearest_stations or calculate_route. No guidance on prerequisites or limitations is provided.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.
5 tool updates
v0.1.0- First observed
calculate_route - First observed
find_nearest_stations - First observed
find_route_stations - First observed
geocode - First observed
get_stations_in_area
TDQS
Each tool has a clearly distinct purpose: route calculation, finding stations by proximity, along a route, geocoding, and area-based search. No overlap in functionality.
All tool names follow a consistent verb_noun pattern in snake_case (e.g., calculate_route, find_nearest_stations). Even 'geocode' is a conventional single word verb. No mixing of styles.
With 5 tools, the set is well-scoped for a fuel station and routing service. Each tool provides essential functionality without redundancy or unnecessary complexity.
Core operations are covered: geocoding, route calculation, and three ways to find stations. Minor gaps like station details (prices, amenities) or reverse geocoding are not critical for the primary use case.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
Hosted MCP server for LLM cost estimation, model comparison, and budget-aware routing.
An MCP server that provides an API to LLMs to manage their JumpCloud resources.
MCP server providing access to the Scorecard API to evaluate and optimize LLM systems.
Related MCP Servers
- MIT
- AlicenseNot gradedqualityFmaintenanceA lightweight, fast MCP server that provides onchain capabilities for the LLMs and Agents.34253MIT
- AlicenseNot gradedqualityCmaintenanceEnables LLMs to interact with any REST API that has an OpenAPI specification by providing a lightweight MCP server that translates between natural language and API calls.MIT
- FlicenseNot gradedqualityDmaintenanceLocal MCP server that exposes fixed tools for GPT, Claude, and Gemini while routing to any OpenAI-compatible chat completions backend with independent configuration per target.1-
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/GeiserX/pumperly-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server