Skip to main content

MCP Service

A Model Context Protocol (MCP) service for data retrieval and query operations.

Features

  • Query data from external sources
  • Retrieve real-time information
  • Support multiple data sources
  • Flexible query parameters

Installation

pip install bus-query-mcp

Or using uv:

uv pip install bus-query-mcp

Usage

Start MCP Server

bus-query-mcp

Available Tools

1. search_data

Search for available data records.

Parameters:

  • key (str): Search keyword

Returns:

  • List of matching records with details

2. get_location_info

Query real-time location information.

Parameters:

  • detail_url (str): Detail URL for precise query
  • direction (str, optional): Query direction

Returns:

  • Location information with coordinates

3. get_record_info

Query basic record information.

Parameters:

  • detail_url (str): Detail URL for precise query

Returns:

  • Basic information about the record

Dependencies

  • Python >= 3.10
  • aiohttp >= 3.9.0
  • mcp >= 0.9.0
  • beautifulsoup4 >= 4.12.0

Development

Install Dependencies

pip install -e .

Run Tests

python -m bus_query_mcp.main

License

MIT License

Notes

  • This service is for educational purposes
  • Please respect rate limits
  • Data accuracy may vary

Metadata

Release files for route-query-mcp 1.0.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 route-query-mcp 1.0.0
File Size Uploaded Provenance
route_query_mcp-1.0.0.tar.gz 6.2 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for route-query-mcp 1.0.0
File Interpreter ABI Platform
route_query_mcp-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 12.5 kB

Release files / route_query_mcp-1.0.0.tar.gz

Download URL route_query_mcp-1.0.0.tar.gz
Size 6.2 kB
Tags Source
SHA-256 checksum
How to use checksums
45cc23df6dd2e95017ef0b1b05cf38c228bc64089e20b2d409fd69a9b1273666
BLAKE2b-256 checksum
How to use checksums
1a8d315c952a0a6994e8dcecfe157fe69183f8eb579c343440f86d48aa8c1cc1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"22.04","id":"jammy","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / route_query_mcp-1.0.0-py3-none-any.whl

Download URL route_query_mcp-1.0.0-py3-none-any.whl
Size 6.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
96ec6cb35bead8162739c3c0811df90a5d1c7ffc9af05051bf983b5327ed3583
BLAKE2b-256 checksum
How to use checksums
da3cc1e6bd6013403e57e0196006832bfc30b11e53d5d6e8a819979de225d40a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"22.04","id":"jammy","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for route-query-mcp 1.0.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.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files No 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