Skip to main content
Glama

gdebenz-mcp

MCP server for finding gasoline and diesel at Russian gas stations. Combines two independent sourcesgdebenz.ru and gdebenzi.ru — crowdsourced fuel availability maps with real-time driver check-ins.

Lets your AI assistant (Claude, Cursor, OpenClaw, etc.) answer questions like:

"Where near Khimki is there 95-octane gasoline?" "What's the nearest Lukoil station with diesel, and is there a queue?"

Works through the public APIs of both services. No API keys needed — just Python and two packages.

Two data sources

Source

What it provides

gdebenz

availability status, fuel list, confirmations, freshness (last_at), confidence, prices

gdebenzi

status, queue text ("queue of 25–50 cars"), limits (L), confirmed fuel (fuels_yes/no), regional average prices, check-ins/reports

The search tools have a source parameter: "gdebenz", "gdebenzi", or "both" (default is both — maximum coverage).


Installation

1. Clone the repository

git clone https://github.com/ivanegorenkov/gdebenz-mcp.git
cd gdebenz-mcp

2. Install dependencies

pip install -r requirements.txt

Requires Python 3.10+.

3. Connect the server to your assistant

Claude Desktop — open/create claude_desktop_config.json:

{
  "mcpServers": {
    "gdebenz": {
      "command": "python3",
      "args": ["/АБСОЛЮТНЫЙ/ПУТЬ/gdebenz-mcp/server.py"]
    }
  }
}

Cursor — in the project's .cursor/mcp.json (or global ~/.cursor/mcp.json):

{
  "mcpServers": {
    "gdebenz": {
      "command": "python3",
      "args": ["/АБСОЛЮТНЫЙ/ПУТЬ/gdebenz-mcp/server.py"]
    }
  }
}

OpenClaw:

openclaw mcp add gdebenz --command python3 --arg /АБСОЛЮТНЫЙ/ПУТЬ/gdebenz-mcp/server.py

⚠️ Replace /ABSOLUTE/PATH/ with the actual path where the repository was cloned (you can find it by running pwd inside the folder).


Related MCP server: gasolineras-mcp

Instructions for the AI agent

If the user asks to "set up this MCP server" — do the following:

  1. git clone https://github.com/ivanegorenkov/gdebenz-mcp.git

  2. cd gdebenz-mcp && pip install -r requirements.txt

  3. Determine the user's MCP host (Claude Desktop / Cursor / OpenClaw) and add the gdebenz entry to its config, as shown above (with the absolute path to server.py).

  4. Restart the host/application.

  5. Verify the server is visible (in OpenClaw: openclaw mcp probe gdebenz).

The server is stdio-based and requires no external keys.


What it can do (9 tools)

Tool

What it does

find_fuel

Main one. Stations with fuel near a location (by name or coordinates). Filters: fuel, brand, status, radius, source. Sorted by distance.

nearby_stations

Stations around a point (lat/lon + radius + source).

stations_with_prices

Stations in an area + prices (bbox + source).

search_stations

Search for a station by name/address.

resolve_location

Place name → coordinates.

get_geoip_location

My location by IP.

get_city_by_coords

City by coordinates.

list_fuels

Fuel grades: 92 / 95 / 98 / 100 / diesel.

list_brands

Common gas station chains (the filter accepts any string).

Example request to the assistant: find_fuel(location="Khimki", fuel="95", brand="Lukoil", source="both").

Semantics

  • Fuel: 92, 95, 98, 100, diesel. For gdebenz — fuels_now (comma-separated string), for gdebenzi — fuels_yes / fuels_no / fuels_maybe (arrays with Russian names, e.g. ["АИ-95", "ДТ"]).

  • Status: yes — available, queue — available/queue, low — low, no — unavailable, unknown — unknown, changing — updating, dtonly — diesel only.

  • Freshness: for gdebenz — last_at, confirmations, confidence (0..1); for gdebenzi — last_mark (check-in time), confidence_pct, marks, reports. Both sources return age_minutes and freshness ("just now", "3 h ago").

  • Queue/limits (gdebenzi): queue ("queue of 25–50 cars"), limits (limit in liters per fuel grade).

  • Prices: gdebenz — prices_now[fuel].t (price report time); gdebenzi — prices (keys ai92/ai95/ai98/ai100/dt/gas) and regional_prices (regional averages).

API (where the data comes from)

gdebenz.ru

Endpoint

Purpose

GET /api/nearby?lat=&lon=&radius_km=

stations around a point

GET /api/stations?lat1=&lon1=&lat2=&lon2=

stations in bbox + prices

GET /api/search?q=

text search

GET /api/cities?q=

geocoding

GET /api/geoip

location by IP

GET /api/reverse-city?lat=&lon=

city by coordinates

gdebenzi.ru

Endpoint

Purpose

GET /api/stations.php?bbox=lon1,lat1,lon2,lat2

stations in bbox (status, queue, limits, prices, check-ins)

License

MIT

Related MCP Connectors

Related MCP Servers

  • A
    license
    A
    quality
    D
    maintenance
    Provides 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.
    MIT