Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

openbusdata_mcp-1.0.1.tar.gz (11.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

openbusdata_mcp-1.0.1-py3-none-any.whl (12.2 kB view details)

Uploaded Python 3

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

Hashes for openbusdata_mcp-1.0.1.tar.gz
Algorithm Hash digest
SHA256 863e40b48c8be5f78a0c159ea2063056323459b3895bb9ec381fbb9c7a74acca
MD5 8a26ec7a0cdc8c963ca7876676160ed8
BLAKE2b-256 e076689f759134e4c50f4c92713a0a972fd59aaa6a40bfdb4add88c8c7921442

See more details on using hashes here.

Provenance

The following attestation bundles were made for openbusdata_mcp-1.0.1.tar.gz:

Publisher: publish-mcp.yml on AndrewAubury/openbusdata-mcp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for openbusdata_mcp-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 492f5c61d12dfaa2fbb08908a40485870b0ab01efed3ab2f1439323b92b5c7f1
MD5 b18230cb9972843327a1d3da215a5998
BLAKE2b-256 657cda2251fd7c9021711dee276969a422b70be2034156e9bf093dfc556b607e

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page