MCP server for the Ersilia Model Hub
A Model Context Protocol server built on the official FastMCP SDK. It lets MCP clients search the Ersilia Model Hub catalog and fetch, serve, and run its AI/ML models, all over stdio.
| Primitive | Name | Description |
|---|---|---|
| Tool | search_model |
Searches the Ersilia model hub catalog by keyword. |
| Tool | fetch_model |
Downloads a model to the local machine. |
| Tool | check_model_fetched |
Reports whether a model has already been fetched. |
| Tool | serve_model |
Starts a fetched model so it can accept predictions. |
| Tool | generate_inputs |
Samples example inputs from a served model. |
| Tool | predict |
Runs predictions with a served model and writes a CSV. |
| Tool | close_model |
Stops a served model and frees its resources. |
| Tool | delete_model |
Deletes a fetched model from local storage. |
A typical workflow is search_model → fetch_model → serve_model → predict
→ close_model. You can optionally call generate_inputs after serving to
sample example inputs to feed into predict, and delete_model to remove the
model from local storage.
Installation
Ensure you have the following installed:
Clone the repository locally using git:
git clone git@github.com:ersilia-os/ersilia-mcp.git
Create a new virtual conda environment, activate it, and install the necessary packages:
conda create -n ersilia-mcp python=3.12
conda activate ersilia-mcp
pip install .
Client Setup & Registration
This MCP server has been tested mainly on Claude (specifically using Claude Code), but it supports any Model Context Protocol (MCP) host or model provider (such as Gemini or ChatGPT) that supports local stdio MCP servers.
Note on Claude Code: This repository is set up to be automatically configured with Claude Code out of the box. It includes a project-scoped .mcp.json configuration file so that when you run Claude Code in this workspace, the Ersilia MCP server is registered and started automatically.
Currently, we only have dedicated setup and registration documentation for:
We would love to receive documentation updates and setup guides for other MCP clients and platforms. If you have successfully set up this server with another client, please consider adding a new setup guide to docs/mcp_setup/! See CONTRIBUTING.md for contribution guidelines.
For further details on manual registration, debugging, or full development setup, please see DEVELOPMENT.md.
About the Ersilia Open Source Initiative
The Ersilia Open Source Initiative is a tech-nonprofit organization fueling sustainable research in the Global South. Ersilia's main asset is the Ersilia Model Hub, an open-source repository of AI/ML models for antimicrobial drug discovery.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ersilia_mcp-1.0.0.tar.gz.
File metadata
- Download URL: ersilia_mcp-1.0.0.tar.gz
- Upload date:
- Size: 21.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
poetry/2.4.1 CPython/3.12.3 Linux/6.17.0-1022-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e6a2c4ea5793565cadd1011ccf0d7309180f8e37ea02dcb15766b3e917978dfc
|
|
| MD5 |
e7c2d807397f22b43fad6ccda6bd7c16
|
|
| BLAKE2b-256 |
89383a620640844f02323daa78e879f956f06bb3ab0c5bf2907972c1ddbdda33
|
File details
Details for the file ersilia_mcp-1.0.0-py3-none-any.whl.
File metadata
- Download URL: ersilia_mcp-1.0.0-py3-none-any.whl
- Upload date:
- Size: 27.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
poetry/2.4.1 CPython/3.12.3 Linux/6.17.0-1022-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4cf918ef8d6c73c389c170f142f913fa8889a7a6ccd8d48bbd35cf5a40021cee
|
|
| MD5 |
50044c14eaf1c4e48e4b9a68fefc0012
|
|
| BLAKE2b-256 |
1c2f5cd972146abf05df61afdebf5c00053c410fd71e93119ea982afee5fb6b8
|