Server data from the Official MCP Registry
MCP server for China domestic fuel prices (92/95/98 gasoline, diesel) across 31 provinces with
About
MCP server for China domestic fuel prices (92/95/98 gasoline, diesel) across 31 provinces with
Remote endpoints: streamable-http: https://pianam.cn/fuel-mcp/mcp
Security Report
This is a benign fuel price lookup server with no authentication required by design, and its only outbound activity is read-only GET requests to public Chinese government and news sites with no user data sent. The main concerns are code quality issues: the three live data-source fetchers are stubs that always return nothing, so every response falls back to hardcoded static prices, and province matching uses loose substring logic. Supply chain analysis found 5 known vulnerabilities in dependencies (1 critical, 3 high severity).
4 files analyzed · 11 issues found
Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.
Permissions Found in Source Code
Found by scanning the linked source code. This listing connects to a hosted endpoint, so none of this runs on your machine: it describes what the server software does where it is hosted.
How to Connect
Remote Plugin
No local installation needed. Your AI client connects to the remote endpoint directly.
Add this to your MCP configuration to connect:
{
"mcpServers": {
"cn-pianam-fuel-mcp": {
"url": "https://pianam.cn/fuel-mcp/mcp"
}
}
}Documentation
View on GitHubFrom the project's GitHub README.
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/mcp
Transport: Streamable HTTP (MCP 2025-03-26 compatible). No authentication required.
🔌 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 | |
---|---|---|
| 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. |
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.py
Then 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 (刘扶阳)
Reviews
No reviews yet
Be the first to review this server!
More Developer Tools MCP Servers
Rea
Freeby Morluto · Developer Tools
Reverse engineer anything from your terminal or agent with one CLI and MCP server.
Paperclip
Freeby Paperclipai · Developer Tools
Trending hip-hop artist momentum scores across four cultural dimensions.
Scrapling
Freeby D4Vinci · Developer Tools
Web scraping with stealth HTTP, real browsers, and Cloudflare bypass. CSS selectors supported.
Server Time
Freeby Modelcontextprotocol · Developer Tools
Current time lookup and conversion between IANA timezones
Toleno
Freeby Toleno · Developer Tools
Toleno Network MCP Server — Manage your Toleno mining account with Claude AI using natural language.
MCP Marketplace
Freeby mcp-marketplace · Developer Tools
Search and install MCP servers from inside your AI client.
