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.1

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.1
File Size Uploaded Provenance Actions
regiojet_mcp-0.1.1.tar.gz 8.9 kB Without provenance Details for regiojet_mcp-0.1.1.tar.gz

Built distribution (wheel)

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

Total release size: 19.2 kB

Release files / regiojet_mcp-0.1.1.tar.gz

Download URL regiojet_mcp-0.1.1.tar.gz
Size 8.9 kB
Tags Source
SHA-256 checksum
How to use checksums
1c1a2b728fadfaa19d61b10b2fbf070c3a115478e2f28b9e9fb9148ac5c846a2
BLAKE2b-256 checksum
How to use checksums
2c299ddb1ad1d3094b2aa0cd6e25d14d849867ca8bc793f36295f6b0975222f7
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.1-py3-none-any.whl

Download URL regiojet_mcp-0.1.1-py3-none-any.whl
Size 10.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8f77ff2372209ebd6ef0bee9f29ec2ff0f65d243e55ae24a5d9dc176e58d490a
BLAKE2b-256 checksum
How to use checksums
cbb83dd304e964c5d5768d5af2f52e5423fde2004cc7a01bdd52a108c45c4b7d
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.1

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