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

Uploaded Python 3

File details

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

File metadata

  • Download URL: science_museum_mcp-0.1.24.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.24.tar.gz
Algorithm Hash digest
SHA256 dba8863a85d149a777ec27cbdcdd0011367207f68d1c2181f14406ebd62f23d2
MD5 a2a7a8b6bfa9e57fba02c43e0b028f6c
BLAKE2b-256 e70b368052a6d351185a4fac44c331095ef61e7e9d22d168386c7ff9e326c9fd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for science_museum_mcp-0.1.24-py3-none-any.whl
Algorithm Hash digest
SHA256 dc735f533074c35b516aa7dd66dadee22a4e278316ec2488ef3a2da53f92f1a3
MD5 7a5a22cc2bfb41e85729b4982e678e60
BLAKE2b-256 0b6735957e85b9b10abf0528debab9770db762121a1c17e323e800cb9ba51c64

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