GasBuddy MCP Price Tracker
About
MCP server to get the cheapest gas prices in a particular city or zip code from gasbuddy.com
Details
- Author
- jimmytwei
- Categories
- Web Scraping
Jump to
Setup
Install GasBuddy MCP Price Tracker in your MCP client (Claude Desktop, Cursor, Windsurf, and others).
Repository: https://github.com/jimmytwei/gasbuddy-mcp-price-tracker
Follow the installation instructions in the repository README, then restart your MCP client.
MCP server to get the cheapest gas prices in a particular city or zip code from gasbuddy.com
The GasBuddy MCP Price Tracker is a Model Context Protocol (MCP) server that scrapes real-time gas prices ongasbuddy.comusing 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.
- Python 3.10+
- Playwright
- Playwright-Stealth
- FastMCP
-
Clone the repository and navigate to the project directory.
Create and activate a virtual environment.
python3 -m venv venv source venv/bin/activate
python -m venv venv .\venv\Scripts\activate
Install dependencies:pip install -r requirements.txt
Install browser binaries:playwright install chromium
Test the standalone tool (CLI):python gas_tool.py
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"] } } }
This application is distributed under theMIT License.
Enable AI agents to get structured data from unstructured web with AgentQL.
Web scraping, crawling, and change detection with AI
Official Apify MCP server for AI agents to run Actors, extract website data, and automate web scraping and crawling workflows.
1GB Free Trial, World's Leading Proxy Service Platform, Efficient Data Collection
Discover, extract, and interact with the web - one interface powering automated access across the public internet.
Automate browser interactions in the cloud (e.g. web navigation, data extraction, form filling, and more)
Easy web data access. Simplified retrieval of information from websites and online sources.
Adds powerful web scraping and search capabilities to LLM clients like Cursor and Claude.
Real-time web data, structured for agents
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.



