GasBuddy MCP Price Tracker
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
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: mcp-tankerkoenig
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.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
US gas and diesel prices by station, ZIP or city. Paid, on Apify's hosted MCP.
Mexico daily fuel prices per gas station (CNE): gasoline and diesel. Pay per event on Apify.
Real-time fuel prices, alerts, and cheapest gas stations across 38+ countries.
US local businesses, services and source-cited prices, city by city. Free, no API key.
Related MCP Servers
- AlicenseAqualityBmaintenanceProvides 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.51 npmMIT
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to look up real-time fuel prices at over 14,000 German gas stations, find the cheapest E5, E10, or diesel near a place or GPS coordinates, and return only open stations sorted by price.MIT
- AlicenseNot gradedqualityBmaintenanceEnables MCP clients to find the cheapest fuel stations near a Spanish town or along a route, ranked by total cost including the fuel burned to detour. Also returns province-level price averages and trends, plus a station's full price list, opening hours and address.MIT