A Model Context Protocol Server for the British Natural History Museum Data API
This project is a Python MCP (https://modelcontextprotocol.io/introduction) server that allows your LLM to fetch data from the British Natural History Museum. Data can be fetched from their Specimens or Index Lots collections. More info on their Data API is available at https://naturalhistorymuseum.github.io/dataportal-docs/#introduction.
Developing
This section is for anyone who wants to contribute to the codebase.
Setup and Install Dependencies
Clone the repository.
The project is configured to use uv (Install link: https://docs.astral.sh/uv/#installation) for dependency management and building. It uses npx (Install link: https://www.npmjs.com/package/npx) to run the MCP inspector.
Create a virtual env with
uv venv
And install dependencies with
uv pip install -r pyproject.toml
Run the inspector with
./inspector.sh
The inspector should run at http://localhost:5173.
Running Unit Tests
source .venv/bin/activate
pytest
Metadata
Release files for natural-history-museum-mcp 0.1.22
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 |
|---|---|---|---|---|
| natural_history_museum_mcp-0.1.22.tar.gz | 5.1 kB | Without provenance | Details for natural_history_museum_mcp-0.1.22.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| natural_history_museum_mcp-0.1.22-py3-none-any.whl | Python 3 | none | any | Details for natural_history_museum_mcp-0.1.22-py3-none-any.whl |
Total release size: 10.8 kB
Release files / natural_history_museum_mcp-0.1.22.tar.gz
| Download URL | natural_history_museum_mcp-0.1.22.tar.gz |
|---|---|
| Size | 5.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4dda4665a777b1443c790a14e5669dd21e8eac5b8fd13dd1a2ef9fb9f80bc7e6
|
|
BLAKE2b-256 checksum How to use checksums |
c239a1982648fc7511c0ccac1da2156a2c0d26fb536a7d503217343c0cb15113
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.6.6
|
Release files / natural_history_museum_mcp-0.1.22-py3-none-any.whl
| Download URL | natural_history_museum_mcp-0.1.22-py3-none-any.whl |
|---|---|
| Size | 5.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
cf7ccd0bf54e4f3f10697ccf7296e1f96966cc622a27bdd11af47cba8f8cead3
|
|
BLAKE2b-256 checksum How to use checksums |
3dcaca15ab4022844a9df97958ad9e06158d754bd03fa7cf090a09ed39ab0a6b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.6.6
|
Security for natural-history-museum-mcp 0.1.22
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.