Command Palette

Search for a command to run...

UnylyUnyly
Browse all

GasBuddy Price Tracker

FreeNot checked

Scrapes real-time gas prices from GasBuddy.com to find the cheapest fuel in any US city or zip code.

GitHubEmbed

About

Scrapes real-time gas prices from GasBuddy.com to find the cheapest fuel in any US city or zip code.

README

SafeSkill 93/100

The GasBuddy MCP Price Tracker is a Model Context Protocol (MCP) server that scrapes real-time gas prices on gasbuddy.com using Playwright. It finds the cheapest fuel in any US city or zip code.

[!NOTE] This project is for educational purposes only. GasBuddy reserves the right to modify their website structure at any time, which may break this script. The author provides no guarantee of functionality and is not liable for issues arising from its use. Community contributions and fixes are highly encouraged.

Requirements

  • Python 3.10+
  • Playwright
  • Playwright-Stealth
  • FastMCP

Installation & Setup

  1. Clone the repository and navigate to the project directory.

  2. Create and activate a virtual environment.

    macOS/Linux

    python3 -m venv venv
    source venv/bin/activate
    

    Windows

    python -m venv venv
    .\venv\Scripts\activate
    
  3. Install dependencies: pip install -r requirements.txt

  4. Install browser binaries: playwright install chromium

  5. Test the standalone tool (CLI): python gas_tool.py

Setup in Claude Desktop

To allow Claude Desktop to interact with the MCP server to get the cheapest gas prices, you will need to update your claude_desktop_config.json file and replace {absolute_path_to} with the absolute path to the cloned repository folder.

{
  "mcpServers": {
    "gas-buddy": {
      "command": "/{absolute_path_to}/venv/bin/python",
      "args": ["/{absolute_path_to}/gas_server.py"]
    }
  }
}

Example in Claude

Example from Claude

License

This application is distributed under the MIT License.

from github.com/jimmytwei/gasbuddy-mcp-price-tracker

Installing GasBuddy Price Tracker

This server has no published package — it is built from source. Open the repository and follow its README.

▸ github.com/jimmytwei/gasbuddy-mcp-price-tracker

FAQ

Is GasBuddy Price Tracker MCP free?

Yes, GasBuddy Price Tracker MCP is free — one-click install via Unyly at no cost.

Does GasBuddy Price Tracker need an API key?

No, GasBuddy Price Tracker runs without API keys or environment variables.

Is GasBuddy Price Tracker hosted or self-hosted?

Self-hosted: the server runs locally on your machine via the install command above.

How do I install GasBuddy Price Tracker in Claude Desktop, Claude Code or Cursor?

Open GasBuddy Price Tracker on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.

Related MCPs

Compare GasBuddy Price Tracker with

Not sure what to pick?

Find your stack in 60 seconds

Author?

Embed badge for your README

Browse similar

All development MCPs