Skip to main content
Glama

你将获得

类型

用途

MCP URI / 工具 ID

资源

只读浏览配置、统计信息和汇率

pumperly://configpumperly://statspumperly://exchange-rates

工具

查找站点、计算路线和地理编码位置

find_nearest_stationsget_stations_in_areacalculate_routefind_route_stationsgeocode

所有功能均通过单个 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

这将从 GitHub Releases 下载适用于你平台的预构建 Go 二进制文件,并使用 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

配置

变量

默认值

描述

PUMPERLY_URL

https://pumperly.com

Pumperly 实例 URL(末尾不带 /)

LISTEN_ADDR

127.0.0.1:8080

HTTP 监听地址(Docker 设置为 0.0.0.0:8080

TRANSPORT

(空 = HTTP)

设置为 stdio 以使用 stdio 传输

将它们放入 .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 -- 轻松实现多架构发布

维护者

@GeiserX

贡献

欢迎参与!提交 Issue 或提交 PR。

Pumperly-MCP 遵循 Contributor Covenant 行为准则。

GeiserX 的其他 MCP 服务器

相关项目

项目

描述

Pumperly

开源燃油和电动汽车路线规划器,提供实时价格

Pumperly-android

Pumperly 燃油和电动汽车路线规划器的官方 Android 应用

pumperly-ha

Pumperly 燃油和电动汽车充电价格的 Home Assistant 自定义集成

n8n-nodes-pumperly

用于 Pumperly 燃油和电动汽车充电数据的 n8n 社区节点

A
license - permissive license
A
quality
A
maintenance

Maintenance

Maintainers
Response time
0dRelease cycle
3Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

View all related MCP servers

Related MCP Connectors

  • Hosted MCP server for LLM cost estimation, model comparison, and budget-aware routing.

  • MCP server providing access to the Scorecard API to evaluate and optimize LLM systems.

  • MCP server for Pentest-Tools.com: run scans, manage findings and reports via your preffered LLM.

View all MCP Connectors

Latest Blog Posts

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