MCP server for UK Bus Open Data Service with timetable parsing and journey planning
Project description
OpenBusData MCP Server
mcp-name: io.github.AndrewAubury/openbusdata
MCP server for the UK Bus Open Data Service with rich timetable parsing, stop search, route discovery, journey planning and real-time bus tracking.
Features
- Live API tools — query timetables, fares, disruptions, cancellations and real-time bus locations
- Stop search — fuzzy text search across every bus stop in the UK
- Route finder — discover all routes serving a pair of stops
- Journey planner — "get to X by Y o'clock" with support for direct and chained multi-leg journeys
- Live tracking — see exactly where buses are right now
Installation
pip install openbusdata-mcp
Configuration
Set your Bus Open Data Service API key as an environment variable:
export OPENBUS_API_KEY="your-api-key-here"
Get a free key at data.bus-data.dft.gov.uk.
Usage
Add to your MCP client (Claude Desktop, Cursor, etc.):
{
"mcpServers": {
"openbusdata": {
"command": "openbusdata-mcp",
"env": {
"OPENBUS_API_KEY": "your-api-key-here"
}
}
}
}
Development
# Create virtual environment
python -m venv .venv
source .venv/bin/activate # or .venv\Scripts\activate on Windows
# Install dependencies
pip install -e ".[dev]"
# Run server
python -m openbusdata_mcp.server
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file openbusdata_mcp-1.0.1.tar.gz.
File metadata
- Download URL: openbusdata_mcp-1.0.1.tar.gz
- Upload date:
- Size: 11.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
863e40b48c8be5f78a0c159ea2063056323459b3895bb9ec381fbb9c7a74acca
|
|
| MD5 |
8a26ec7a0cdc8c963ca7876676160ed8
|
|
| BLAKE2b-256 |
e076689f759134e4c50f4c92713a0a972fd59aaa6a40bfdb4add88c8c7921442
|
Provenance
The following attestation bundles were made for openbusdata_mcp-1.0.1.tar.gz:
Publisher:
publish-mcp.yml on AndrewAubury/openbusdata-mcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
openbusdata_mcp-1.0.1.tar.gz -
Subject digest:
863e40b48c8be5f78a0c159ea2063056323459b3895bb9ec381fbb9c7a74acca - Sigstore transparency entry: 1871823793
- Sigstore integration time:
-
Permalink:
AndrewAubury/openbusdata-mcp@26a4eedd73c1b55b46db21727c7232a4c0d77527 -
Branch / Tag:
refs/tags/v1.0.1 - Owner: https://github.com/AndrewAubury
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-mcp.yml@26a4eedd73c1b55b46db21727c7232a4c0d77527 -
Trigger Event:
push
-
Statement type:
File details
Details for the file openbusdata_mcp-1.0.1-py3-none-any.whl.
File metadata
- Download URL: openbusdata_mcp-1.0.1-py3-none-any.whl
- Upload date:
- Size: 12.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
492f5c61d12dfaa2fbb08908a40485870b0ab01efed3ab2f1439323b92b5c7f1
|
|
| MD5 |
b18230cb9972843327a1d3da215a5998
|
|
| BLAKE2b-256 |
657cda2251fd7c9021711dee276969a422b70be2034156e9bf093dfc556b607e
|
Provenance
The following attestation bundles were made for openbusdata_mcp-1.0.1-py3-none-any.whl:
Publisher:
publish-mcp.yml on AndrewAubury/openbusdata-mcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
openbusdata_mcp-1.0.1-py3-none-any.whl -
Subject digest:
492f5c61d12dfaa2fbb08908a40485870b0ab01efed3ab2f1439323b92b5c7f1 - Sigstore transparency entry: 1871823920
- Sigstore integration time:
-
Permalink:
AndrewAubury/openbusdata-mcp@26a4eedd73c1b55b46db21727c7232a4c0d77527 -
Branch / Tag:
refs/tags/v1.0.1 - Owner: https://github.com/AndrewAubury
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-mcp.yml@26a4eedd73c1b55b46db21727c7232a4c0d77527 -
Trigger Event:
push
-
Statement type: