poland-transit-mcp-engine
An optional Rust search engine for poland-transit-mcp.
- What it is: the RAPTOR trip-planning search, ported line for line from the package's Python code. Given the same timetable, it returns the same journeys.
- Speed: measured on Warszawa and Katowice, it is about 20× faster per search.
- How it is used: poland-transit-mcp uses it automatically when it is installed, and falls back to its own Python search when it is not. Set
POLAND_TRANSIT_ENGINE=pythonto force the Python search.
The engine package is not published on PyPI yet, so uvx --from "poland-transit-mcp[fast]" from PyPI does not resolve: build it from source (a git URL or a local path, with a Rust toolchain). From a clone (needs a Rust toolchain, e.g. brew install rust) this works:
uvx --from "/path/to/poland-transit-mcp[fast]" poland-transit-mcp --data-dir /path/to/poland-transit-mcp/data/cities --no-download
# or, for development: uv sync --extra dev --extra fast
Whole plan_trip calls are 2.3–3.4× faster (total time over 100 plans on an Apple Silicon Mac), not 20×: the 20× is the search step alone. See docs/ENGINE.md in the main repository.
Licence: MIT.
Metadata
Release files for poland-transit-mcp-engine 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| poland_transit_mcp_engine-0.2.0.tar.gz | 7.4 kB | Without provenance | Details for poland_transit_mcp_engine-0.2.0.tar.gz |
Release files / poland_transit_mcp_engine-0.2.0.tar.gz
| Download URL | poland_transit_mcp_engine-0.2.0.tar.gz |
|---|---|
| Size | 7.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
19b9eeb1755c5f444494c4d03613ea7d344d48e7fe2ce592f090250f0533af35
|
|
BLAKE2b-256 checksum How to use checksums |
093102832894ec144ba07ee7ad20fda635863c4fed95e6ce1cbe659aefb3233a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.18 {"installer":{"name":"uv","version":"0.11.18","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 poland-transit-mcp-engine 0.2.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.