query_oil_price
Query Oil Price
查询国内成品油价格(92号/95号/98号汽油、0号柴油)。传入省份名查该省油价,如"山东";不传则返回全国31个省区市油价列表。返回下一轮调价窗口日期。
province
cn.pianam.mcp由 mcp.pianam.cn 发布官方发布者v1.0.0更新于 Nov 21, 2026
China fuel prices: gasoline and diesel across all 31 provinces with adjustment forecast.
发布方自己的服务:China 12306 Train Tickets MCP
远程 MCP 服务器,让助手按省份查询中国汽油、柴油价格或获取全国油价列表,并给出下一轮调价窗口。
Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。
把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。
阅读 https://sourceweft.com/mcp/cn.pianam.mcp%2Ffuel-mcp/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。把它添加到你客户端的 mcpServers 配置中。
{
"mcpServers": {
"fuel": {
"type": "http",
"url": "https://mcp.pianam.cn/fuel-mcp/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.
https://mcp.pianam.cn/fuel-mcp/mcp
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.):
{
"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".
| 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.
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
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 (刘扶阳)
来源:README.md,提交 bd1ae39
Query Oil Price
查询国内成品油价格(92号/95号/98号汽油、0号柴油)。传入省份名查该省油价,如"山东";不传则返回全国31个省区市油价列表。返回下一轮调价窗口日期。
province已满足适用检查项的 100%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

cn.pianam.mcp官方发布者
按中文车站名和日期查询中国铁路 12306 车次与余票,纯只读,不能购票。

cn.pianam.mcp官方发布者
远程 MCP 服务器,让助手查询全球城市的实时天气和 1–7 天预报,支持中文城市名并以中文输出。

cn.pianam.mcp官方发布者
远程 MCP 端点,让助手按代码或中文名查询中国 A 股个股实时行情和三大指数点位。
cn.pianam.mcp官方发布者
一个远程 MCP 网关,让助手搜索 2.2 万多个 MCP 服务器,并无需密钥调用 50 多个托管工具。

cn.pianam.mcp官方发布者
远程 MCP 服务器,查询 IPv4 归属地,返回国家、省份、城市、经纬度、时区、运营商与 AS 编号,中文输出。