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.25.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.25-py3-none-any.whl (5.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: science_museum_mcp-0.1.25.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.25.tar.gz
Algorithm Hash digest
SHA256 6755b052b66b6efb4cf15e799f808415568cdf4f5c76924bc6f4988b5443397a
MD5 4f838b1528fb511e0982db52e1be1e21
BLAKE2b-256 b08389ca18a8925e7c5b66c23cbe9862566620a49fbc3e4ca6a90de6b9750a31

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for science_museum_mcp-0.1.25-py3-none-any.whl
Algorithm Hash digest
SHA256 081fb4bee3c47ddc1b5c9ee9875e013d3b8b895c2f3ee92a710bcb2012b73fda
MD5 4f772ce50bec60d7b559d4034ef33dd0
BLAKE2b-256 14892bf790359cd3e048172417e6c413dd1cb1f522215c0c048cdee1e47aa163

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