Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
作者提供的说明(英文原文)
Source-timestamped energy data and reviewed OilPriceAPI product facts for MCP clients.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
OILPRICEAPI_KEY, OILPRICEAPI_MCP_SCOPE, OILPRICEAPI_MCP_PROFILE, OILPRICEAPI_MCP_CATEGORIES标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"oilpriceapi": {
"command": "npx",
"args": [
"-y",
"oilpriceapi-mcp"
],
"env": {
"OILPRICEAPI_KEY": "your-value",
"OILPRICEAPI_MCP_SCOPE": "your-value",
"OILPRICEAPI_MCP_PROFILE": "your-value",
"OILPRICEAPI_MCP_CATEGORIES": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add oilpriceapi --env OILPRICEAPI_KEY=your-value --env OILPRICEAPI_MCP_SCOPE=your-value --env OILPRICEAPI_MCP_PROFILE=your-value --env OILPRICEAPI_MCP_CATEGORIES=your-value -- npx -y oilpriceapi-mcp运行前请先填写空着的值。
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"oilpriceapi": {
"command": "npx",
"args": [
"-y",
"oilpriceapi-mcp"
],
"env": {
"OILPRICEAPI_KEY": "your-value",
"OILPRICEAPI_MCP_SCOPE": "your-value",
"OILPRICEAPI_MCP_PROFILE": "your-value",
"OILPRICEAPI_MCP_CATEGORIES": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"oilpriceapi": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"oilpriceapi-mcp"
],
"env": {
"OILPRICEAPI_KEY": "your-value",
"OILPRICEAPI_MCP_SCOPE": "your-value",
"OILPRICEAPI_MCP_PROFILE": "your-value",
"OILPRICEAPI_MCP_CATEGORIES": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
OILPRICEAPI_MCP_SCOPE envOILPRICEAPI_MCP_PROFILE envOILPRICEAPI_MCP_CATEGORIES env这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日
注册名称已通过 GitHub 账户 OilpriceAPI 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
你需要填写:OILPRICEAPI_KEY
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(3.6.0)于20天前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。
同一分类中有:Spec Driven Development, Remote Desktop Commander, EmbeddedCI BenchPod
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.
Drive a BenchPod hardware-in-the-loop bench: power, flash, UART, I2C, CAN, analog and logic.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
Give compatible AI clients source-timestamped oil, gas, LNG, carbon, fuel, and related energy data through MCP. No API key is needed to try the limited demo.
[Get a Free API Key](https://www.oilpriceapi.com/auth/signup?utm_source=mcp-readme) · [Documentation](https://docs.oilpriceapi.com) · [API Explorer](https://api.oilpriceapi.com/swagger) · [Pricing](https://www.oilpriceapi.com/pricing?utm_source=mcp-readme)
Backed by OilPriceAPI, a normalized REST API for energy dashboards, fleet and logistics tools, maritime workflows, and market research.
Canonical sources: Public product facts · Official MCP Registry record
npx oilpriceapi-mcp
The default scope is read-only. Account mutations are not listed and direct mutation calls are rejected unless write scope is explicitly enabled:
npx oilpriceapi-mcp --scope write
Inspect the package without opening an MCP stdio session:
npx oilpriceapi-mcp --version
npx oilpriceapi-mcp --list-tools npx oilpriceapi-mcp --list-tools --json --profile core npx oilpriceapi-mcp doctor --demo npx oilpriceapi-mcp doctor npx oilpriceapi-mcp --capabilities --json npx oilpriceapi-mcp --config claude-code npx oilpriceapi-mcp --config vscode
--config generates client-native, copy/paste-valid JSON for claude-desktop, claude-code, cursor, vscode, cline, or windsurf. It never reads or prints the configured API key. Claude Code, VS Code, and Windsurf outputs use their supported environment or secure-input references; Claude Desktop, Cursor, and Cline use an explicit local replacement marker. Add --demo to omit API-key configuration entirely. Scope, profile, and category options are preserved in the generated server arguments.
Example commodity codes:
| Code | What it is | Typical agent use |
|---|---|---|
BRENT_CRUDE_USD | Brent crude (global) | market briefings, dashboards |
WTI_USD | WTI crude (US) | trading context, macro models |
NATURAL_GAS_USD | Henry Hub natural gas | energy analytics |
DUTCH_TTF_EUR | TTF gas (Europe) | European energy, LNG analysis |
JKM_LNG_USD | JKM LNG (Asia) | LNG trading & shipping |
EU_CARBON_EUR | EU ETS carbon allowances | CBAM, maritime compliance, ESG |
DIESEL_USD | Diesel (Gulf Coast) | fleet & fuel-surcharge math |
JET_FUEL_USD | Jet fuel | aviation ops |
VLSFO_USD | Marine bunker fuel | voyage costing |
GOLD_USD | Gold | macro & portfolio context |
The server works out of the box in keyless demo mode — just omit OILPRICEAPI_KEY from the configs below. The price tools (opa_get_price, opa_compare_prices, opa_list_commodities, opa_market_overview) serve latest available values for a limited demo commodity set, and every other data tool explains its account requirements. Demo responses are marked with a footer. For the broader account-enabled catalog, history, futures, and alerts, get a free API key and add it to your config.
Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):
{
"mcpServers": { "oilpriceapi": { "command": "npx", "args": ["-y", "oilpriceapi-mcp"], "env": { "OILPRICEAPI_KEY": "your-api-key-here" } } } }
Add to your project's .mcp.json:
{
"mcpServers": { "oilpriceapi": { "command": "npx", "args": ["-y", "oilpriceapi-mcp"], "env": { "OILPRICEAPI_KEY": "your-api-key-here" } } } }
Add to .cursor/mcp.json in your project root:
{
"mcpServers": { "oilpriceapi": { "command": "npx", "args": ["-y", "oilpriceapi-mcp"], "env": { "OILPRICEAPI_KEY": "your-api-key-here" } } } }
Add to .vscode/mcp.json:
{
"servers": { "oilpriceapi": { "type": "stdio", "command": "npx", "args": ["-y", "oilpriceapi-mcp"], "env": { "OILPRICEAPI_KEY": "your-api-key-here" } } } }
Add to ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": { "oilpriceapi": { "command": "npx", "args": ["-y", "oilpriceapi-mcp"], "env": { "OILPRICEAPI_KEY": "your-api-key-here" } } } }
npm install -g oilpriceapi-mcp
Container builds require the source revision and commit timestamp so the image, capability manifest, and build metadata are traceable to the same checkout:
docker build \
--build-arg SOURCE_COMMIT="$(git rev-parse HEAD)" \ --build-arg SOURCE_DATE_EPOCH="$(git show -s --format=%ct HEAD)" \ -t oilpriceapi-mcp . docker run --rm oilpriceapi-mcp --version docker run --rm oilpriceapi-mcp --capabilities --json
The runtime image uses the unprivileged node user. Omit OILPRICEAPI_KEY for the limited keyless demo, or inject it with your container platform's secret manager. Do not bake credentials into the image.
This server runs locally over stdio only. Its MCP Registry record lists the npm package and no remote endpoint.
The hosted connector at https://mcp.oilpriceapi.com/mcp is not this server. It is a separate, smaller set of energy_* tools with OAuth account linking, used by hosted clients that cannot launch a local process. Use this package for the full opa_* tool set.
| Variable | Required | Description |
|---|---|---|
OILPRICEAPI_KEY | No | API key from oilpriceapi.com/auth/signup. After the core trial, use the public product facts or your account response for the current Free allowance and reset window. Dataset access and limits vary by plan and entitlement. Without a key, the server uses the limited demo. |
OILPRICEAPI_BASE_URL | No | Override API base URL (for staging/testing). Default: https://api.oilpriceapi.com |
OILPRICEAPI_MCP_SCOPE | No | read (default) hides and blocks create/delete tools. Set write only when account mutations are intended. |
OILPRICEAPI_MCP_PROFILE | No | Stable inventory profile: all (default), core, market, or automation. |
OILPRICEAPI_MCP_CATEGORIES | No | Comma-separated category allowlist (core, market, automation). Overrides the selected profile. |
read scope includes all non-mutating tools, including alert history, subscription listing, and subscription event polling. The four create/delete tools require --scope write or OILPRICEAPI_MCP_SCOPE=write. Unknown scope, profile, or category values fail closed before stdio starts.
Profiles reduce tool overload without replacing first-class MCP actions:
| Profile | Included categories |
|---|---|
all | core, market, automation |
core | core |
market | core, market |
automation | core, automation |
For example, a read-only price and product-facts server can use:
{
"command": "npx", "args": ["-y", "oilpriceapi-mcp", "--scope", "read", "--profile", "core"] }
doctor checks the Node runtime, package entry point, API reachability, key validity, current plan, and reported feature gates. doctor --demo performs a bounded keyless request. Failures distinguish missing configuration, 401, 402, 403, 429, timeout, DNS/TLS, and upstream 5xx responses. The API key is never printed.
Every package includes build/capabilities.json. It is generated from the same SDK registry used by tools/list and records the package/version/source commit, minimum Node version, scopes, profiles, exact inventories, per-tool annotations, key/entitlement requirements, resources, commands, and support URLs. Website and docs consumers should pin a package version, validate schemaVersion and sourceCommit, and update the artifact only through an explicit dependency upgrade. They should not scrape CLI prose or hard-code tool counts.
capability-ledger.json records an explicit decision for every operation in the published OilPriceAPI contract (https://api.oilpriceapi.com/openapi.json). Each operation is either exposed, naming the registered tool(s), or not_exposed with a disposition (selected, deferred, alias, unsupported, internal) and a one-line reason. Families group operations into workflows, including p
只显示了开头部分;其余内容请在仓库中阅读