Skip to content
MCPSTAMP

AnswerLive data

Can Claude check gas prices today?

Yes with web search, with one caution. Gas prices change every week, so from training data alone Claude does not have this week's number. With web search on, Claude can find a price, but news stories and app pages often show a different figure from the official average, sometimes without the date. Connect the free Gas Prices Today server and Claude reads the U.S. Energy Information Administration (EIA) weekly retail price survey when you ask. It gives the average per gallon of regular, midgrade, premium or diesel for the US, a region, one of nine surveyed states or ten cities, the change from last week and a year ago, and a ranking of the places EIA prices. It also works out a fill-up or a trip. These are averages, not the price at your station. For a state EIA does not price, it gives the region and says so.

What Claude does alone, and what needs the server

Claude on its own

  • Explains what moves gas prices and works out fuel cost once it has a price.
  • Finds a price on a web page when web search is on.

With the Gas Prices Today server

  • This week's EIA average for your state, city or region, with the week date.
  • The change from last week, four weeks ago and a year ago.
  • A ranking of the cheapest and most expensive places EIA surveys.

A real call to the live server

We sent this to the hosted server on 2026-11-07. The answer below is the server's own text, not a mock-up. Live values will differ when you ask.

You ask

What are gas prices today?

Tool call

get_gas_prices {}

Server answer

Regular gasoline in the U.S. averaged $4.153 a gallon in the week of 2026-11-02 (down $0.116 from the week before, down $0.201 from four weeks ago, $3.019 a year ago). Source: U.S. Energy Information Administration weekly retail price survey, released 2026-11-03; next release 2026-11-10.

Run on 2026-11-07 with the EIA release of 2026-11-03. EIA publishes new averages on Mondays, and the server reads the newest week each time you ask.

You ask

What will a 300 mile trip cost in Texas if my car does 30 miles per gallon?

Tool call

estimate_fill_up_cost {"gallons":15,"area":"Texas","miles":300,"miles_per_gallon":30}

Server answer

15 gallons of regular gasoline at $3.578 a gallon (EIA average for regular gasoline, Texas, week of 2026-11-02) costs $53.67. A 300-mile trip at 30 miles per gallon uses 10 gallons and costs about $35.78, or 11.93 cents a mile.

Connect it in 1 minute

One URL, no token, no account. In Claude.ai or Claude Desktop open Settings, then Connectors, then Add custom connector, and paste the URL.

Connector URL

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

Cursor (~/.cursor/mcp.json)

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

VS Code (.vscode/mcp.json)

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

All 3 tools, sources and more prompts are on the Gas prices today MCP server page.

Questions

Can Claude check gas prices today?
Yes with web search, with one caution. Gas prices change every week, so from training data alone Claude does not have this week's number. With web search on, Claude can find a price, but news stories and app pages often show a different figure from the official average, sometimes without the date. Connect the free Gas Prices Today server and Claude reads the U.S. Energy Information Administration (EIA) weekly retail price survey when you ask. It gives the average per gallon of regular, midgrade, premium or diesel for the US, a region, one of nine surveyed states or ten cities, the change from last week and a year ago, and a ranking of the places EIA prices. It also works out a fill-up or a trip. These are averages, not the price at your station. For a state EIA does not price, it gives the region and says so.
Is this the price at my gas station?
No. EIA reports an average from a retail survey. Station prices vary by brand and street, so use the average to see the level and the trend, not the number on the pump.
Why is my state not priced directly?
EIA prices nine states and ten cities directly. For any other state the server returns the EIA region that contains it and says so, for example West Coast for Arizona.
Is the server free?
Yes. The Gas Prices Today server is free at its hosted URL with no token, key or account. The source is open on GitHub.

More questions people ask Claude

All answers ยท All free servers

Get an email when a new free server ships

About once a month, one short email lists the free MCP servers and Can Claude answers we added since the last one. Your address is used for nothing else. We first send a link to confirm, and you are not on the list until you click it. Every email has an unsubscribe link. Details are on the privacy page.