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

Uploaded Python 3

File details

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

File metadata

  • Download URL: science_museum_mcp-0.1.23.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.23.tar.gz
Algorithm Hash digest
SHA256 c8b433aa96d7a3a56a97a69e77d72fe645005cdaf3aaf13d13446cf2a5538460
MD5 53c18f549e947af80b75d738aa5f713b
BLAKE2b-256 f544d7d438e499f89c1e121e71b330745ba07019c7811e49fdabb270bb99e201

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for science_museum_mcp-0.1.23-py3-none-any.whl
Algorithm Hash digest
SHA256 b6d383708fac63c9f2dbd6fcf502888c6acfadb73f7b9c6bd14d5eb566168ca3
MD5 49feab72e60ffbbc5d6797dd3288f2d1
BLAKE2b-256 e4cf597b6f8cbf5eb0d6872d4fc1243808028542c8a3a68dcec691c92646c367

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