GasBuddy MCP Price Tracker
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@GasBuddy MCP Price Trackerfind cheapest gas in Chicago, IL"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
GasBuddy MCP Price Tracker
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.
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
Related MCP server: opinet-mcp
Installation & Setup
Clone the repository and navigate to the project directory.
Create and activate a virtual environment.
macOS/Linux
python3 -m venv venv source venv/bin/activateWindows
python -m venv venv .\venv\Scripts\activateInstall dependencies:
pip install -r requirements.txtInstall browser binaries:
playwright install chromiumTest 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
![]()
License
This application is distributed under the MIT License.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
Gas and fuel prices by station and area, as structured data via a hosted MCP server.
Real-time fuel prices, alerts, and cheapest gas stations across 38+ countries.
Live US diesel prices and optimized stop-by-stop fuel plans for trucking. Free snapshot tool.
Auto repair price benchmarks and current service deals for any US ZIP. No account required.
Related MCP Servers
- AlicenseBqualityCmaintenanceEnables web scraping and data extraction from websites with geographic flexibility, privacy features, and anti-detection capabilities. Supports scraping general websites, Google Search, Amazon Search, and Reddit with customizable parameters for rendering, geolocation, and locale.3011136ISC
- AlicenseAqualityDmaintenanceProvides access to Korea Petroleum Corporation's Opinet fuel price API for South Korea. Enables querying of current national and regional fuel averages, recent price trends, lowest-price stations, and nearby gas station details through natural language.MIT
- AlicenseAqualityAmaintenanceProvides real-time fuel prices at gas stations in Spain using the government's public API. Enables users to find the cheapest fuel in a municipality or list stations sorted by price.2MIT
- AlicenseNot gradedqualityCmaintenanceProvides German real-time fuel prices (Benzinpreise) for all.15MIT