The full upstream README, mirrored here for reference. Install config, tool schemas, adoption signals, and an original overview live on the Fuel MCP listing page.
China domestic refined-fuel (gasoline & diesel) prices for AI agents: query pump prices for 92# / 95# / 98# gasoline and 0# diesel in any of China's 31 provincial-level regions, or get the full national list, plus the next expected price-adjustment window.
Transport: Streamable HTTP (MCP 2025-03-26 compatible). No authentication required.
Add this to your MCP client's mcpServers configuration (Claude Desktop, Cursor, Cline, Cherry Studio, etc.):
Clients that do not accept
"type": "http"accept the same entry with just"url".
| Tool | Parameters | Returns | |
---|---|---|
| query_oil_price(province="") | province: optional region name — full (山东省), short (山东), or one-character abbreviation (鲁/京). Omit to get all regions. | Single region: 92#/95#/98# gasoline and 0# diesel prices (CNY/liter), data date, data source, next adjustment window. No argument: prices for all 31 provincial-level regions, with data date and next adjustment window. |
data_date / data_source fields).Adjust the bundled table (
STATIC_OIL_PRICES/STATIC_DATA_DATEinfuel_server.py) to refresh figures between releases.
Then point your MCP client at http://127.0.0.1:8000/mcp.
With uv:
fuel_server.py — the MCP server: price table, province-name normalization, live-source attempts with static fallback, FastMCP tool definition.server.py — standalone Streamable HTTP entry point (serves the MCP app at /mcp).requirements.txt — Python dependencies.LICENSE — MIT.国内油价 MCP:查询全国 31 个省区市的 92/95/98 号汽油与 0 号柴油价格(元/升),支持省名全称、简称与单字别称(鲁→山东、京→北京);不传省份返回全国列表,并给出下一轮调价窗口预估。
在线直连(免费、无需 Key):https://mcp.pianam.cn/fuel-mcp/mcp
联网数据源不可用时自动降级到内置静态油价表(响应中始终标注数据日期与来源)。价格为参考基准价,实际以当地加油站为准。
MIT © 2026 boy-373 (刘扶阳)