OPET Fuel Prices MCP Server
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., "@OPET Fuel Prices MCP Servershow me fuel prices in Istanbul"
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.
OPET Fuel Prices MCP Server
A Model Context Protocol (MCP) server that provides access to OPET fuel prices data through Claude AI.
Demo

Related MCP server: opinet-mcp
Features
Get all available provinces
Fetch fuel prices for specific provinces
Get last update timestamp
Error handling with detailed messages
Prerequisites
Before using this MCP server, you need to set up the OPET API server first.
1. Install OPET Package
Install the OPET package from https://github.com/sinanerdinc/opet:
pip install opet2. Start OPET API Server
Start the API server using one of the following methods:
Option A: Using CLI
opet-cli --apiOption B: Using Docker
docker run -p 8000:8000 sinanerdinc/opet apiOption C: Using Docker with custom port
docker run -p 5050:8000 sinanerdinc/opet apiThe API server will be available at http://localhost:8000 (or your custom port).
Installation
Prerequisites
Python 3.12 or higher
uv package manager (recommended) or pip
OPET package installed and API server running
Setup
Clone the repository:
git clone <repository-url>
cd opet-mcpUsing uv
# 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 syncConfiguration
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:5050Usage
Running the Server
Start the MCP server:
# With uv
uv run fastmcp run server.py
# With pip
fastmcp run server.pyExample Configuration
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"
}
}
}
}Option 2: Installation Command
fastmcp install server.py --name "OPET Fuel Prices" \
--env-var OPET_API_URL=http://localhost:8000Available Tools
get_all_provinces()
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.
Parameters:
province_id(str): The unique identifier of the province
get_last_update_time()
Gets the timestamp of when the fuel prices were last updated in the system.
License
This project is licensed under the MIT License - see the LICENSE file for details.
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 Servers
- Alicense-qualityDmaintenanceEnables searching and comparing product prices across Turkish supermarket chains (BIM, A101, Migros, SOK, etc.) with location-based filtering. Provides access to Turkish market data from marketfiyati.org.tr for price tracking and comparison.Last updated1MIT
- 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.Last updatedMIT
- AlicenseAqualityDmaintenanceEnables querying Turkish market prices, searching products, and comparing prices across different stores using the Market Fiyatı API.Last updated31731MIT
- 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.Last updated2MIT
Related MCP Connectors
Vanlife & RV travel data. Fuel, weather, currency, events, news. https://openvan.camp/en/developers
Real-time electricity prices for AI agents. 40+ countries, 100+ zones. No auth required.
Tankerkoenig MCP — German real-time fuel prices (Benzinpreise) for all
Appeared in Searches
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/sinanerdinc/opet-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server