Allows to retrieve information about an AnnData object via MCP
Project description
AnnData MCP
Allows to retrieve information about an AnnData object via MCP using the read_lazy function from anndata.
Getting started
Please refer to the documentation, in particular, the API documentation.
You can also find the project on BioContextAI, the community-hub for biomedical MCP servers: anndata-mcp on BioContextAI.
Installation
You need to have Python 3.11 or newer installed on your system. If you don't have Python installed, we recommend installing uv.
There are several alternative options to install anndata-mcp:
- Use
uvxto run it immediately:
uvx anndata-mcp
- Include it in one of various clients that supports the
mcp.jsonstandard, please use:
{
"mcpServers": {
"anndata-mcp": {
"command": "uvx",
"args": ["anndata-mcp"]
}
}
}
- Install it through
pip:
pip install --user anndata-mcp
- Install the latest development version:
pip install git+https://github.com/biocontext-ai/anndata-mcp.git@main
Contact
If you found a bug, please use the issue tracker.
Citation
If this MCP server is useful to your research, please cite the BioContextAI and the anndata publications:
@article{BioContext_AI_Kuehl_Schaub_2025,
title={BioContextAI is a community hub for agentic biomedical systems},
url={http://dx.doi.org/10.1038/s41587-025-02900-9},
urldate = {2025-11-06},
doi={10.1038/s41587-025-02900-9},
year = {2025},
month = nov,
journal={Nature Biotechnology},
publisher={Springer Science and Business Media LLC},
author={Kuehl, Malte and Schaub, Darius P. and Carli, Francesco and Heumos, Lukas and Hellmig, Malte and Fernández-Zapata, Camila and Kaiser, Nico and Schaul, Jonathan and Kulaga, Anton and Usanov, Nikolay and Koutrouli, Mikaela and Ergen, Can and Palla, Giovanni and Krebs, Christian F. and Panzer, Ulf and Bonn, Stefan and Lobentanzer, Sebastian and Saez-Rodriguez, Julio and Puelles, Victor G.},
year={2025},
month=nov,
language={en},
}
@article{Virshup2024,
title = {anndata: Access and store annotated data
matrices},
volume = {9},
ISSN = {2475-9066},
url = {http://dx.doi.org/10.21105/joss.04371},
DOI = {10.21105/joss.04371},
number = {101},
journal = {Journal of Open Source Software},
publisher = {The Open Journal},
author = {Virshup, Isaac and Rybakov, Sergei and Theis, Fabian J. and Angerer, Philipp and Wolf, F. Alexander},
year = {2024},
month = sep,
pages = {4371}
}
Project details
Release history Release notifications | RSS feed
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 anndata_mcp-0.2.11.tar.gz.
File metadata
- Download URL: anndata_mcp-0.2.11.tar.gz
- Upload date:
- Size: 235.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
11c350becabe325953bf0bcdeb5a13593ec2fb13cde3339b3ad79e82d7d39a16
|
|
| MD5 |
e1411d05de71c0a11b30aedae935f298
|
|
| BLAKE2b-256 |
68a51d50c19a5ca414bea7317d43ff9683fd77cbbe34f813bab912519f7a3e96
|
Provenance
The following attestation bundles were made for anndata_mcp-0.2.11.tar.gz:
Publisher:
release.yaml on biocontext-ai/anndata-mcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
anndata_mcp-0.2.11.tar.gz -
Subject digest:
11c350becabe325953bf0bcdeb5a13593ec2fb13cde3339b3ad79e82d7d39a16 - Sigstore transparency entry: 1003994079
- Sigstore integration time:
-
Permalink:
biocontext-ai/anndata-mcp@2fc4d61107b61dfa87900f71adfb13169068fda8 -
Branch / Tag:
refs/tags/0.2.11 - Owner: https://github.com/biocontext-ai
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yaml@2fc4d61107b61dfa87900f71adfb13169068fda8 -
Trigger Event:
release
-
Statement type:
File details
Details for the file anndata_mcp-0.2.11-py3-none-any.whl.
File metadata
- Download URL: anndata_mcp-0.2.11-py3-none-any.whl
- Upload date:
- Size: 22.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5c889e4e988769d191b1617e2a6728de9ce8abeecab8feeb26442e1caf57437a
|
|
| MD5 |
440a6a69855c319227d09c35aae9199f
|
|
| BLAKE2b-256 |
f6442dc9bde35a08dee37d24a53cb66dcdceadea7c4857c0b8c07d4a687880aa
|
Provenance
The following attestation bundles were made for anndata_mcp-0.2.11-py3-none-any.whl:
Publisher:
release.yaml on biocontext-ai/anndata-mcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
anndata_mcp-0.2.11-py3-none-any.whl -
Subject digest:
5c889e4e988769d191b1617e2a6728de9ce8abeecab8feeb26442e1caf57437a - Sigstore transparency entry: 1003994087
- Sigstore integration time:
-
Permalink:
biocontext-ai/anndata-mcp@2fc4d61107b61dfa87900f71adfb13169068fda8 -
Branch / Tag:
refs/tags/0.2.11 - Owner: https://github.com/biocontext-ai
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yaml@2fc4d61107b61dfa87900f71adfb13169068fda8 -
Trigger Event:
release
-
Statement type: