Opet MCP Server

A Model Context Protocol (MCP) server that provides access to OPET fuel prices data through Claude AI.

Local serverstdioPython

What is the Opet MCP MCP server?

If you already use Opet MCP, the opet mcp mcp server is the piece that lets your assistant work with it directly. A Model Context Protocol (MCP) server that provides access to OPET fuel prices data through Claude AI.

What the server does

  • Get all available provinces
  • Fetch fuel prices for specific provinces
  • Get last update timestamp
  • Error handling with detailed messages

Installation

The server ships on PyPI as opet, so your MCP client can launch it on demand — there is no separate build step. Add the server block to your client's configuration, restart it, and the tools register themselves.

Available tools

The toolset is worth reading before you wire it up, because it tells you what the integration is really for:

  • Prerequisites — The Prerequisites tool exposed by this server
  • Setup — 1. Clone the repository: bash git clone cd opet-mcp

Credentials and setup notes

Configuration is passed through the environment: OPET_API_URL. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.

Before using this MCP server, you need to set up the OPET API server first.

Worth knowing first

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • Keep per-call confirmation enabled while you learn its behaviour; it is the cheapest safeguard you have.

Where it fits

This sits in the developer tooling group, where several servers overlap in what they claim to do but differ sharply once you actually set them up. Opet MCP's toolset — Prerequisites, Setup — is a fair guide to whether it matches your workflow. It is maintained by sinanerdinc; worth a glance at recent repository activity before you build anything load-bearing on it.

This entry was verified against Opet MCP's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.

Available tools

ToolWhat it does
PrerequisitesThe Prerequisites tool exposed by this server.
Setup1. Clone the repository: bash git clone <repository-url> cd opet-mcp

How to install the Opet MCP MCP server

{
  "mcpServers": {
    "opet": {
      "command": "uvx",
      "args": ["opet"],
      "env": {
        "OPET_API_URL": "your-value"
      }
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Configuration

Before using this MCP server, you need to set up the OPET API server first.

VariableDescriptionRequired
OPET_API_URLEndpoint or connection string the server talks to.Yes

Example prompts to try

  • Use Opet MCP to Prerequisites.
  • Use Opet MCP to Setup.

Frequently asked questions

It connects Opet MCP to MCP-compatible AI assistants such as Claude and Cursor, exposing 2 tools (Prerequisites, Setup) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Opet MCP directly.