OPET Fuel Prices
About
Provides access to current fuel prices from OPET, a Turkish petroleum distribution company.
Details
- Author
- sinanerdinc
- Categories
- Other, Web Scraping, API
Jump to
Option 1: Install the server to Claude with a custom name and API URL:
{ "mcpServers": { "Opet Server": { "command": "uv", "args": ](https://github.com/sinanerdinc/opet)[ "run", "--with", "fastmcp", "fastmcp", "run", "/your_absolute_path/opet-mcp/server.py" ], "env": { "OPET_API_URL": "http://localhost:8000" } } } }
fastmcp install server.py --name "OPET Fuel Prices" \ --env-var OPET_API_URL=http://localhost:8000
Retrieves a list of all provinces where fuel prices are available.
A Model Context Protocol (MCP) server that provides access to OPET fuel prices data through Claude AI.
- Get all available provinces
- Fetch fuel prices for specific provinces
- Get last update timestamp
- Error handling with detailed messages
Before using this MCP server, you need to set up the OPET API server first.
Install the OPET package fromhttps://github.com/sinanerdinc/opet:
Start the API server using one of the following methods:
docker run -p 8000:8000 sinanerdinc/opet api
docker run -p 5050:8000 sinanerdinc/opet api
The API server will be available athttp://localhost:8000(or your custom port).
- Python 3.12 or higher
- uv package manager (recommended) or pip
- OPET package installed and API server running
git clone <repository-url> cd opet-mcp
# Install uv if you don't have it curl -LsSf https://astral.sh/uv/install.sh | sh # Create virtual environment and install dependencies uv venv -p 3.12 source .venv/bin/activate # On Windows: .venv\Scripts\activate uv sync
Set the OPET API URL using environment variables. The URL should point to your running OPET API server:
# If using default port (8000) export OPET_API_URL=http://localhost:8000 # If using custom port (e.g., 5050) export OPET_API_URL=http://localhost:5050
# With uv uv run fastmcp run server.py # With pip fastmcp run server.py
Option 1: Install the server to Claude with a custom name and API URL:
{ "mcpServers": { "Opet Server": { "command": "uv", "args": [ "run", "--with", "fastmcp", "fastmcp", "run", "/your_absolute_path/opet-mcp/server.py" ], "env": { "OPET_API_URL": "http://localhost:8000" } } } }
fastmcp install server.py --name "OPET Fuel Prices" \ --env-var OPET_API_URL=http://localhost:8000
Retrieves a list of all provinces where fuel prices are available.
get_fuel_prices_by_province(province_id)
Fetches current fuel prices for a specific province using its ID.
- province_id(str): The unique identifier of the province
Gets the timestamp of when the fuel prices were last updated in the system.
This project is licensed under the MIT License - see theLICENSEfile for details.
1GB Free Trial, World's Leading Proxy Service Platform, Efficient Data Collection
Scrape websites with Oxylabs Web API, supporting dynamic rendering and parsing for structured data extraction.
An MCP server for making HTTP requests, enabling LLMs to fetch and process web content.
KonbiniAPI gives AI agents direct access to social media data — profiles, posts, videos, comments, and search results.
Extract structured data from websites using the Scrapezy API.
Remote MCP server for Claude, Cursor, VS Code, and Windsurf with access to 80+ web scraping and data extraction APIs.
X (Twitter) data platform skill for AI coding agents. 111 REST API endpoints, 2 MCP tools, 23 extraction types, HMAC webhooks. Read tweets from $0.00015 per call (33x cheaper than the official X API). Pay-per-use via Machine Payments Protocol or Xquik API key.
Global postal code lookups, validation, and city search for 70+ countries. Sub-10ms responses.
Connect to any financial, utility, billing accounts; retrieve balance, transactions, payment and identity data instantly.
A healthcare MCP server for EMRs like Cerner and Epic, providing tools to interact with FHIR data and medical resources.
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.




