Skip to main content

regiojet-mcp

MCP server (FastMCP) for the RegioJet Affiliate API. Read-only: find stations, search connections, inspect routes, prices and free seats.

Tools

Tool Description
find_locations Resolve city/station names (any language, diacritics optional) to ids
search_routes Connections between two locations on a date, paginated via cursor + page
get_route_detail Sections (lines, platforms, transfers) and price per seat class
get_free_seats Free seats per vehicle for a seat class
list_tariffs, list_seat_classes, list_vehicle_standards, list_carriers, list_action_prices Reference data (cached)
get_ticket Existing ticket by account code + ticket id

Resources: regiojet://tariffs, regiojet://seat-classes.

Run

uv sync
uv run regiojet-mcp                      # stdio
REGIOJET_MCP_TRANSPORT=http uv run regiojet-mcp   # http on 127.0.0.1:8000
uv run fastmcp dev server.py             # MCP Inspector

Claude Code:

claude mcp add regiojet -- uv run --directory /path/to/regiojet-mcp regiojet-mcp

Configuration

Env var Default
REGIOJET_BASE_URL https://brn-ybus-pubapi.sa.cz/restapi
REGIOJET_USER / REGIOJET_PASSWORD unset (HTTP Basic auth for affiliate accounts)
REGIOJET_LANG en
REGIOJET_CURRENCY EUR
REGIOJET_TIMEOUT 20 seconds
REGIOJET_MCP_TRANSPORT / _HOST / _PORT stdio / 127.0.0.1 / 8000

Tests

uv run pytest

Metadata

Release files for regiojet-mcp 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for regiojet-mcp 0.1.0
File Size Uploaded Provenance Actions
regiojet_mcp-0.1.0.tar.gz 7.6 kB Without provenance Details for regiojet_mcp-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for regiojet-mcp 0.1.0
File Interpreter ABI Platform Actions
regiojet_mcp-0.1.0-py3-none-any.whl Python 3 none any Details for regiojet_mcp-0.1.0-py3-none-any.whl

Total release size: 16.6 kB

Release files / regiojet_mcp-0.1.0.tar.gz

Download URL regiojet_mcp-0.1.0.tar.gz
Size 7.6 kB
Tags Source
SHA-256 checksum
How to use checksums
34bc1b16130bc9d5454f2a1a52378552e75607df4c5498712632fde0e7f87ee8
BLAKE2b-256 checksum
How to use checksums
300e9d389052cad9a0bddf38b61d8ea632f4125c9975c8afc516f11f426f6a83
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.5 {"installer":{"name":"uv","version":"0.13.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / regiojet_mcp-0.1.0-py3-none-any.whl

Download URL regiojet_mcp-0.1.0-py3-none-any.whl
Size 9.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a03366a911137335c39815490e566c2d7f846bb89484fee57930326877e84ead
BLAKE2b-256 checksum
How to use checksums
c63024b03828a70790aa0ff8d3678100236ece5ff564d119481d444117286d8f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.5 {"installer":{"name":"uv","version":"0.13.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for regiojet-mcp 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page