gasbuddy-mcp-price-tracker
MCP server to get the cheapest gas prices in a particular city or zip code from gasbuddy.com
Documentation
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.
> [!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\activate3. 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
License
This application is distributed under the MIT License.
Frequently asked questions
What is gasbuddy-mcp-price-tracker?
gasbuddy-mcp-price-tracker is MCP server to get the cheapest gas prices in a particular city or zip code from gasbuddy.com
How do I install gasbuddy-mcp-price-tracker?
Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.
Is gasbuddy-mcp-price-tracker open source?
Yes — it is hosted on GitHub at https://github.com/jimmytwei/gasbuddy-mcp-price-tracker and has 1 stars.
Related MCP tools
AI-powered OSINT agent with interactive REPL, MCP server, and CLI. 19 tools. Works with Claude, GPT-4, or local models. For authorized security research only.
Open-source coding agent memory. Records issues, attempts, fixes and decisions, then warns your agent before it repeats an approach that already failed. Native MCP server for Claude Code, Cursor, Antigravity and Codex. 100% local, no cloud, no telemetry. MIT.
Control Gmail, Google Calendar, Docs, Sheets, Slides, Chat, Forms, Tasks, Search & Drive with AI - Comprehensive Google Workspace MCP Server & CLI Tool
Cut AI token costs 95%+ on code exploration. The leading MCP server for precise, symbol-level GitHub code retrieval via tree-sitter AST. Works with Claude Code, Cursor & any MCP client. 313B+ tokens saved.
Decision audit trail + persistent memory for AI trading agents. Outcome-weighted recall, tamper-evident SHA-256 chain with RFC 3161 anchoring, 20 MCP tools.
Production-grade MCP server giving Claude 27 security intelligence tools across 21 APIs — CVE lookup, EPSS scoring, CISA KEV, MITRE ATT&CK, Shodan, VirusTotal, and more.
Run your own MCP server? See who uses it and what to fix.
Measure it with TrackMCP