Source-timestamped energy data and reviewed OilPriceAPI product facts for MCP clients.
Connect Runs on your machine
claude mcp add mcp-server -e OILPRICEAPI_KEY=<OILPRICEAPI_KEY> -e OILPRICEAPI_MCP_SCOPE=<OILPRICEAPI_MCP_SCOPE> -e OILPRICEAPI_MCP_PROFILE=<OILPRICEAPI_MCP_PROFILE> -e OILPRICEAPI_MCP_CATEGORIES=<OILPRICEAPI_MCP_CATEGORIES> -- npx -y [email protected]
{
"mcpServers": {
"mcp-server": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"OILPRICEAPI_KEY": "<OILPRICEAPI_KEY>",
"OILPRICEAPI_MCP_SCOPE": "<OILPRICEAPI_MCP_SCOPE>",
"OILPRICEAPI_MCP_PROFILE": "<OILPRICEAPI_MCP_PROFILE>",
"OILPRICEAPI_MCP_CATEGORIES": "<OILPRICEAPI_MCP_CATEGORIES>"
}
}
}
}
{
"mcpServers": {
"mcp-server": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"OILPRICEAPI_KEY": "<OILPRICEAPI_KEY>",
"OILPRICEAPI_MCP_SCOPE": "<OILPRICEAPI_MCP_SCOPE>",
"OILPRICEAPI_MCP_PROFILE": "<OILPRICEAPI_MCP_PROFILE>",
"OILPRICEAPI_MCP_CATEGORIES": "<OILPRICEAPI_MCP_CATEGORIES>"
}
}
}
}
{
"servers": {
"mcp-server": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"OILPRICEAPI_KEY": "<OILPRICEAPI_KEY>",
"OILPRICEAPI_MCP_SCOPE": "<OILPRICEAPI_MCP_SCOPE>",
"OILPRICEAPI_MCP_PROFILE": "<OILPRICEAPI_MCP_PROFILE>",
"OILPRICEAPI_MCP_CATEGORIES": "<OILPRICEAPI_MCP_CATEGORIES>"
}
}
}
}
Replace the values in angle brackets with your own. Keys stay on your machine; we never see them.
Tools
This server runs locally, so its tools are listed by your MCP client once it starts.
Environment variables
| Name | Description |
|---|---|
OILPRICEAPI_KEYOptional, secret | Your OilPriceAPI key from oilpriceapi.com/auth/signup. Optional: without it, keyless demo mode. |
OILPRICEAPI_MCP_SCOPEOptional | Tool scope: read (default) or write (explicit mutation opt-in). |
OILPRICEAPI_MCP_PROFILEOptional | Tool profile: all, core, market, or automation. |
OILPRICEAPI_MCP_CATEGORIESOptional | Comma-separated category allowlist (core, market, automation) that overrides the profile. |
Details
| Package | [email protected] (NPM, stdio) |
| First published | 17 Oct 2026 |
| Last updated | 17 Oct 2026 |
| Registry name | io.github.OilpriceAPI/mcp-server |
More other servers See all
Listing data from the official MCP registry. Status and tools from NestDaddy's daily check. Browse all MCP servers.
