Skip to content
MCPSTAMP

Live dataNo token

Gas prices today MCP server

This week's average price of regular, midgrade, premium and diesel for the US, regions, states and cities from the EIA weekly survey.

Free. No key, no sign-in, no paid tier. 3 tools.

Can Claude check gas prices today?

Connector URL

https://gas-prices-today-mcp.lipmichal.workers.dev/mcp

Paste it as a custom connector in Claude, or add it to Claude Code, Cursor or VS Code. Setup for each is below.

What it knows that a model doesn't

A model answers from training data. This server reads the source when you ask.

  • This week's average price per gallon with the change from last week, four weeks ago and a year ago, read from the EIA weekly retail price survey.
  • Which places EIA prices itself. That is the US, five regions, nine states and ten cities, and any other state gets its region with a plain note saying so.
  • The cost of a fill-up at the area average or your own price, and the fuel cost of a trip from miles and miles per gallon.

Sources EIA weekly retail gasoline and diesel price tables (eia.gov/petroleum/gasdiesel/) and the EIA weekly history pages, read at call time. EIA publishes new averages on Mondays.

Tools (3)

Read from the live server with tools/list on 2026-11-07.

ToolWhat it does
get_gas_prices Get gas prices today. Latest EIA weekly average retail price per gallon (taxes included) of regular, midgrade or premium gasoline, all grades or diesel for the US, an EIA region, one of nine surveyed states, one of ten surveyed cities, or the region of any...
compare_gas_prices Compare gas prices by place. Ranks the areas EIA prices (states, cities, regions) from cheapest to most expensive for a grade this week, with the US average, the cheapest and the most expensive area.
estimate_fill_up_cost Estimate fill-up and trip cost. Cost of filling a tank (gallons times this week's EIA average for the area, or your price per gallon), and optionally the fuel cost of a trip from miles and miles per gallon, including cents per mile.

Connect it

One URL, no token. Pick your app.

Claude.ai and Claude Desktop

Open Settings, then Connectors, then Add custom connector. Paste the URL. Leave the OAuth fields empty. Save.

https://gas-prices-today-mcp.lipmichal.workers.dev/mcp

Claude Code

Run this in your terminal. Then run claude mcp list to check it.

claude mcp add --transport http gas-prices-today https://gas-prices-today-mcp.lipmichal.workers.dev/mcp

Cursor

Merge this into ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (one project).

{
  "mcpServers": {
    "gas-prices-today": {
      "url": "https://gas-prices-today-mcp.lipmichal.workers.dev/mcp"
    }
  }
}

VS Code

Put this in .vscode/mcp.json. The top key is servers, not mcpServers.

{
  "servers": {
    "gas-prices-today": {
      "type": "http",
      "url": "https://gas-prices-today-mcp.lipmichal.workers.dev/mcp"
    }
  }
}

Things to ask

Paste one into a new chat after you connect.

Questions

Is the gas prices today MCP server free?
Yes. The hosted URL is free and needs no token, key or account. The source is open on GitHub.
Why not just ask the model?
A model answers from its training data. That data stops at a cutoff date, and long sums can drift. This server reads its data or rules each time you ask, so the answer is current and exact.
Where does the data come from?
EIA weekly retail gasoline and diesel price tables (eia.gov/petroleum/gasdiesel/) and the EIA weekly history pages, read at call time. EIA publishes new averages on Mondays.
Which apps can use it?
Any MCP client that accepts a remote server URL: Claude.ai and Claude Desktop custom connectors, Claude Code, Cursor, VS Code and others. You can also run it locally with npx.

More free live-data servers

All free servers ยท Back-office servers on McpStamp