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 querydirection(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 bus-query-mcp 0.1.3
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 | |
|---|---|---|---|---|
| bus_query_mcp-0.1.3.tar.gz | 6.2 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| bus_query_mcp-0.1.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 12.4 kB
Release files / bus_query_mcp-0.1.3.tar.gz
| Download URL | bus_query_mcp-0.1.3.tar.gz |
|---|---|
| Size | 6.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
af8e0020f4dc48e3f5caec5014da7ac446be53d2dc3ba019f66f1c23b363c79d
|
|
BLAKE2b-256 checksum How to use checksums |
5454b2d3460d93b70a56ee47f82b6da092363203da793fd73ff0a478b71a098c
|
| 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 / bus_query_mcp-0.1.3-py3-none-any.whl
| Download URL | bus_query_mcp-0.1.3-py3-none-any.whl |
|---|---|
| Size | 6.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0f5db5866e4ab324c4cf81cebf940d5a1a6085599e80b70527feaf7283c2ec83
|
|
BLAKE2b-256 checksum How to use checksums |
b96019e3290a9c73216924d26c95d8fa0233d9a68cf982a0a733fd63527d446e
|
| 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 bus-query-mcp 0.1.3
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.