Skip to main content

MCP Server for the British Science Museum

Project description

A Model Context Protocol Server for the British Science Museum Data API

This project is a Python MCP (https://modelcontextprotocol.io/introduction) server that allows your LLM to fetch data from the British Science Museum. Info is available at https://github.com/TheScienceMuseum/collectionsonline/wiki/Collections-Online-API#get-search.

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 output the localhost URL for accessing its UI.

Running Unit Tests

source .venv/bin/activate
pytest

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

science_museum_mcp-0.1.26.tar.gz (5.0 kB view details)

Uploaded Source

Built Distribution

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

science_museum_mcp-0.1.26-py3-none-any.whl (5.6 kB view details)

Uploaded Python 3

File details

Details for the file science_museum_mcp-0.1.26.tar.gz.

File metadata

  • Download URL: science_museum_mcp-0.1.26.tar.gz
  • Upload date:
  • Size: 5.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.6

File hashes

Hashes for science_museum_mcp-0.1.26.tar.gz
Algorithm Hash digest
SHA256 8228a607d27fc04871d499681e1a048ee9f1da4c4c260f8f60eb091dc5e0b55b
MD5 7a6b43aab45ce2d9d2f82d62ba3aee57
BLAKE2b-256 b477b73639c6993a1910bc546c9226be4e4390679d730b97fd78fead62a99fac

See more details on using hashes here.

File details

Details for the file science_museum_mcp-0.1.26-py3-none-any.whl.

File metadata

File hashes

Hashes for science_museum_mcp-0.1.26-py3-none-any.whl
Algorithm Hash digest
SHA256 ae8e1f14d6548fc1a1169496a4b27a42bb5cfb66ddcb5bbe3e6f6ab3d23b3f64
MD5 cb33d507197edcbb9a38918f41745183
BLAKE2b-256 744e970648f5a0b53a8aa8d104c3267b279c9c7a37778c8d0f0b55475391f329

See more details on using hashes here.

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