Skip to main content

flixtrain-mcp 🚆

mcp-name: io.github.mohammad-abbasi-sh/flixtrain-mcp

Unofficial read-only MCP server for global.api.flixbus.com (FlixBus shop search API) — FlixTrain times & prices from the FlixBus shop search API (free, no key, no login): train-only departures between German cities, with stations, duration, price and seat availability. No key, no login.

Built by Mohammad Abbasi as part of the "Germany MCP factory". Not affiliated with global.api.flixbus.com (FlixBus shop search API).

For AI agents

Add to your MCP client config (stdio):

{
  "mcpServers": {
    "flixtrain": {
      "command": "uvx",
      "args": ["flixtrain-mcp==0.1.0"]
    }
  }
}

Or run locally: python -m flixtrain_mcp.server (needs mcp<2, httpx).

Tools

Tool Description
flixtrain_search_trains Search FlixTrain-only departures between two cities on a date: times, stations, duration, price & seats — from_city, to_city, date (DD.MM.YYYY), limit 1..20, sort (departure/price)
flixtrain_search_cities Find cities (with train stations) by name for the train search — query, limit 1..10
flixtrain_health Reachability probe (ok / blocked / error) — one polite request

Development

python3 -m venv .venv && .venv/bin/pip install "mcp<2" httpx pytest
.venv/bin/pip install -e .
.venv/bin/python -m pytest tests/ -q

License

MIT


Built by Mohammad Abbasi — Almanibama · mabbasi.ir

Metadata

Release files for flixtrain-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 flixtrain-mcp 0.1.0
File Size Uploaded Provenance Actions
flixtrain_mcp-0.1.0.tar.gz 23.4 kB With provenance Details for flixtrain_mcp-0.1.0.tar.gz

Built distribution (wheel)

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

Total release size: 33.3 kB

Release files / flixtrain_mcp-0.1.0.tar.gz

Download URL flixtrain_mcp-0.1.0.tar.gz
Size 23.4 kB
Tags Source
SHA-256 checksum
How to use checksums
a53589771cf15258c1ca9d4c766a83b19bd7e331ad821eb4cf3c12ccf471216a
BLAKE2b-256 checksum
How to use checksums
38727d634571a67a236c47bf93e19f5ced10ad7302ee73f3c212ff33ae358791
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 10, 2026.

Transparency log

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

Download URL flixtrain_mcp-0.1.0-py3-none-any.whl
Size 9.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7a6f616e366a1af05d005340cdab984a52c725c3d31952cc28b52d8d58d1d1f6
BLAKE2b-256 checksum
How to use checksums
ec8d3e56515637c37b61ed0602cdbc4fba7d1aa79e4723d048cc4e0e2cfac14b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 10, 2026.

Transparency log

Security for flixtrain-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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for flixtrain_mcp-0.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 10, 2026.

Transparency log

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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files Full provenance

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