Server data from the Official MCP Registry
Gas prices today from the EIA weekly survey: US, region, state and city, with year-ago change.
About
Gas prices today from the EIA weekly survey: US, region, state and city, with year-ago change.
Remote endpoints: streamable-http: https://gas-prices-today-mcp.lipmichal.workers.dev/mcp
Security Report
The gas-prices-today-mcp server is a clean, read-only Developer Tools-adjacent MCP server that fetches public EIA weekly gasoline and diesel price tables with no API key and no credentials. It requests only HTTPS URLs to eia.gov and its own data is public; no exfiltration, shell execution, or hardcoded secrets were found. The only minor observations are a broad catch on the year-ago history lookup and the lack of auth on a public, read-only endpoint, which match its purpose. Supply chain analysis found 6 known vulnerabilities in dependencies (0 critical, 4 high severity).
9 files analyzed · 10 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": {
"io-github-theluckystrike-gas-prices-today-mcp": {
"url": "https://gas-prices-today-mcp.lipmichal.workers.dev/mcp"
}
}
}Documentation
View on GitHubFrom the project's GitHub README.
gas-prices-today-mcp
Gas prices today for AI assistants. Ask for this week's price per gallon in your state or city and get the U.S. Energy Information Administration (EIA) average for regular, midgrade, premium or diesel, the change from last week, last month and a year ago, and what a fill-up or a trip costs.
This is a Model Context Protocol (MCP) server. It reads the EIA weekly retail gasoline and diesel survey at call time and needs no API key.
Tools
| Tool | What it returns |
|---|---|
get_gas_prices | This week's EIA average retail price per gallon (taxes included) for the US, a region, one of nine surveyed states, one of ten surveyed cities or the region of any other state, with the change from last week, four weeks ago and a year ago. |
compare_gas_prices | The states, cities and regions EIA prices, ranked from cheapest to most expensive, against the US average. |
estimate_fill_up_cost | The cost of a fill-up at the area average or your price, and the cost of a trip from miles and miles per gallon. |
Every result has structured JSON, a one-paragraph summary, as_of, source and more (a page on mcpstamp.com). Every tool is marked read-only.
What it knows that your model does not
- This week's price. EIA publishes new averages every Monday, so a remembered number is stale.
- Which places EIA prices itself. It covers the US, five regions with sub-regions, nine states (California, Colorado, Florida, Massachusetts, Minnesota, New York, Ohio, Texas, Washington) and ten cities. For any other state the server says so and returns the EIA region that contains it.
- The price a year ago, read from the EIA weekly history file.
Install
Hosted (Claude.ai custom connector, ChatGPT developer mode)
Paste this URL. No token, no sign-up.
https://gas-prices-today-mcp.lipmichal.workers.dev/mcp
Claude Code
claude mcp add --transport http gas-prices-today https://gas-prices-today-mcp.lipmichal.workers.dev/mcp
Claude Desktop
Claude Desktop adds remote servers under Settings, Connectors, Add custom connector. Paste the URL above.
Cursor
Add to ~/.cursor/mcp.json.
{
"mcpServers": {
"gas-prices-today": { "url": "https://gas-prices-today-mcp.lipmichal.workers.dev/mcp" }
}
}
VS Code
Add to .vscode/mcp.json.
{
"servers": {
"gas-prices-today": { "type": "http", "url": "https://gas-prices-today-mcp.lipmichal.workers.dev/mcp" }
}
}
Local stdio
The npm package is not published. Build it from this repository with Node 20 or newer.
git clone https://github.com/theluckystrike/gas-prices-today-mcp && cd gas-prices-today-mcp
npm install && npm run build
claude mcp add gas-prices-today -- node $(pwd)/dist/stdio.js
Example prompts
- "What are gas prices today?"
- "How much is a gallon of regular in Texas right now, and what was it a year ago?"
- "Which state EIA surveys has the most expensive gas?"
- "What is the diesel price in California this week?"
- "What will a 300 mile trip cost at 30 miles per gallon?"
Data sources
Full list with fetch dates in DATA_SOURCES.md.
- EIA weekly retail gasoline and diesel prices, the per-area tables for regular, midgrade, premium, all grades and diesel, read at call time.
- EIA weekly history pages (LeafHandler) for the price a year ago.
- EIA PADD definitions for which states belong to which region.
Limitations
- State, city and regional averages from a retail survey, not the price at your station.
- EIA prices nine states and ten cities directly. Other states get their region's average.
- Diesel is priced for the US, the regions and California only.
- The hosted server caches EIA pages for up to 15 minutes.
More
More MCP servers that answer questions your assistant cannot answer alone are on mcpstamp.com.
Part of the Zovo MCP collection at https://mcp.zovo.one
Built by theluckystrike.
Development
npm install
npm test # builds, then runs the fixture tests and an offline stdio test
node scripts/stdio-transcript.mjs # live stdio round trip, writes .live/stdio-transcript.jsonl
License
MIT
More from zovo
- All free zovo VS Code extensions — file viewers, database clients, formatters. Offline, no telemetry, no sign-up.
- Full MCP server catalogue — local-first MCP servers for back-office work: invoices, VAT, PDFs, spreadsheets, payroll.
- Hosted no-install MCP endpoints — paste a URL in Claude / Cursor, nothing to install.
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.
Git
Freeby Modelcontextprotocol · Developer Tools
Read, search, and manipulate Git repositories programmatically
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.
