China Fuel Price MCP
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@China Fuel Price MCP山东今天92号汽油多少钱?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
China Fuel Price MCP
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.
Try it in 30 seconds: a free public MCP endpoint is already running — just paste the URL into your MCP client (no install, no API key).
Or self-host: a small FastMCP server. A bundled static price table (clearly dated) guarantees answers even when no live source is reachable.
⚡ Use the hosted endpoint (no setup)
https://mcp.pianam.cn/fuel-mcp/mcpTransport: Streamable HTTP (MCP 2025-03-26 compatible). No authentication required.
Related MCP server: GroundAPI
🔌 Client configuration
Add this to your MCP client's mcpServers configuration (Claude Desktop, Cursor, Cline, Cherry Studio, etc.):
{
"mcpServers": {
"fuel": {
"type": "http",
"url": "https://mcp.pianam.cn/fuel-mcp/mcp"
}
}
}Clients that do not accept
"type": "http"accept the same entry with just"url".
🧰 Tools
Tool | Parameters | Returns |
|
| 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. |
Examples
"山东今天 92 号汽油多少钱?" → Shandong fuel prices.
"广东油价" → Guangdong prices.
"全国油价列表" → all regions.
📡 Data
The server attempts live sources in order (CNPC official site, NDRC announcements, WallStreetCN commodities); when none yields structured data it falls back to a bundled static price table whose date is always returned in the response (
data_date/data_sourcefields).Region names accept full names, short names and traditional one-character abbreviations (京/沪/鲁/粤…).
Prices are reference benchmark prices in CNY per liter; actual pump prices may vary by station and promotions. No API key required.
Adjust the bundled table (
STATIC_OIL_PRICES/STATIC_DATA_DATEinfuel_server.py) to refresh figures between releases.
🐢 Self-hosting
git clone https://github.com/boy-373/fuel-mcp.git
cd fuel-mcp
pip install -r requirements.txt
python server.py
# listens on 127.0.0.1:8000 by default; override with:
# MCP_HOST=0.0.0.0 MCP_PORT=9000 python server.py
# behind a reverse proxy, allow your public hostname:
# MCP_ALLOWED_HOSTS="your-domain.com,your-domain.com:*" python server.pyThen point your MCP client at http://127.0.0.1:8000/mcp.
With uv:
uv venv && uv pip install -r requirements.txt
uv run python server.py🗂️ Files
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
联网数据源不可用时自动降级到内置静态油价表(响应中始终标注数据日期与来源)。价格为参考基准价,实际以当地加油站为准。
📄 License
MIT © 2026 boy-373 (刘扶阳)
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.
No tool schema history has been recorded yet.
This server cannot be installed
Maintenance
Related MCP Connectors
Gas and fuel prices by station and area, as structured data via a hosted MCP server.
Pay-per-use tool marketplace for AI agents. Search, price-check, and call APIs via MCP.
China A-share market data for research, backtesting and AI agents via MCP.
Discover and call 10,000+ production APIs from one MCP server. Pay-per-call billing for AI agents.
Related MCP Servers
- AlicenseAqualityAmaintenanceMCP server that exposes any Pumperly instance to LLMs, enabling real-time fuel price queries, station search, route planning, and geocoding.5783GPL 3.0
- AlicenseAqualityBmaintenanceReal-time data API for AI Agents. 10 MCP tools covering A-share stock quotes, market overview, fund data, web search, news, weather, logistics tracking, and IP geolocation.10MIT

CNBizAPI MCP Serverofficial
AlicenseNot gradedqualityDmaintenanceEnables AI agents to query detailed information on 77M+ Chinese companies, including basic data, shareholders, legal risks, and more, through a pay-per-query MCP server.MIT- AlicenseAqualityAmaintenanceDaily-verified LLM API pricing dataset (44+ models, CN & global) with a hosted MCP server for live price queries and token cost estimation.2CC BY-4.0
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/boy-373/fuel-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server