pumperly-mcp
Что вы получаете
Тип | Для чего | MCP URI / ID инструмента |
Ресурсы | Просмотр конфигурации, статистики и курсов валют (только чтение) |
|
Инструменты | Поиск станций, расчет маршрутов и геокодирование локаций |
|
Все данные передаются через единую конечную точку JSON-RPC (/mcp).
LLM / Агенты могут: initialize -> readResource -> listTools -> callTool ... и так далее.
Related MCP server: Foundry MCP Server
Быстрый старт (Docker Compose)
services:
pumperly-mcp:
image: drumsergio/pumperly-mcp:latest
ports:
- "127.0.0.1:8080:8080"
environment:
- PUMPERLY_URL=https://pumperly.comПримечание по безопасности: Транспорт HTTP по умолчанию прослушивает
127.0.0.1:8080. Если вам нужно открыть его в сети, разместите его за обратным прокси-сервером с аутентификацией.
Установка через npm (транспорт stdio)
npx pumperly-mcpИли установите глобально:
npm install -g pumperly-mcp
pumperly-mcpЭто загрузит предварительно собранный бинарный файл Go из GitHub Releases для вашей платформы и запустит его с транспортом stdio. Требуется как минимум один опубликованный релиз.
Локальная сборка
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/serverКонфигурация
Переменная | По умолчанию | Описание |
|
| URL экземпляра Pumperly (без завершающего /) |
|
| Адрес прослушивания HTTP (Docker устанавливает |
| (пусто = HTTP) | Установите |
Поместите их в файл .env (из .env.example) или установите в переменных окружения.
Тестирование
Протестировано с помощью Inspector, в настоящее время работает полностью. Перед созданием PR убедитесь, что этот MCP-сервер корректно работает через этот инструмент.
Пример конфигурации для клиентских LLM
{
"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"
}Авторы
Pumperly -- агрегация цен на топливо в реальном времени
MCP-GO -- современная реализация MCP
GoReleaser -- удобные мультиархитектурные релизы
Сопровождающие
Участие в разработке
Присоединяйтесь! Откройте issue или отправьте PR.
Pumperly-MCP следует Кодексу поведения Contributor Covenant.
Другие MCP-серверы от GeiserX
cashpilot-mcp — Мониторинг пассивного дохода
duplicacy-mcp — Мониторинг состояния резервных копий
genieacs-mcp — Управление устройствами TR-069
lynxprompt-mcp — Шаблоны конфигурации ИИ
telegram-archive-mcp — Архив сообщений Telegram
Связанные проекты
Проект | Описание |
Планировщик маршрутов для топлива и электромобилей с открытым исходным кодом и ценами в реальном времени | |
Официальное приложение Android для планировщика маршрутов Pumperly | |
Пользовательская интеграция Home Assistant для цен на топливо и зарядку электромобилей Pumperly | |
Узел сообщества n8n для данных о топливе и зарядке электромобилей Pumperly |
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 | |
| waypoints | No | Optional JSON array of waypoints as [[lon,lat],...] | |
| origin_lat | Yes | Origin latitude | |
| origin_lon | Yes | Origin longitude |
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 |
|---|---|---|---|
| lat | Yes | Latitude of the search centre | |
| lon | Yes | Longitude of the search centre | |
| fuel | Yes | Fuel type code (e.g. B7, E5, E10, E85, LPG, CNG, LNG, EV) | |
| limit | No | Maximum number of results (default 5) | |
| 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 |
|---|---|---|---|
| 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],...]} | |
| corridor_km | No | Corridor width in kilometres (default 5) |
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.
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
Scored across 5 tools
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
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
- AlicenseBqualityCmaintenanceAn MCP server that provides LLMs access to other LLMs412 npm81MIT
- AlicenseNot gradedqualityFmaintenanceA lightweight, fast MCP server that provides onchain capabilities for the LLMs and Agents.35 npm255MIT
- AlicenseNot gradedqualityDmaintenanceEnables 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-