Skip to main content

Allows to retrieve information about an AnnData object via MCP

Project description

AnnData MCP

BioContextAI - Registry Tests Documentation

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:

  1. Use uvx to run it immediately:
uvx anndata-mcp
  1. Include it in one of various clients that supports the mcp.json standard, please use:
{
  "mcpServers": {
    "anndata-mcp": {
      "command": "uvx",
      "args": ["anndata-mcp"]
    }
  }
}
  1. Install it through pip:
pip install --user anndata-mcp
  1. 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

anndata_mcp-0.2.6.tar.gz (268.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

anndata_mcp-0.2.6-py3-none-any.whl (19.8 kB view details)

Uploaded Python 3

File details

Details for the file anndata_mcp-0.2.6.tar.gz.

File metadata

  • Download URL: anndata_mcp-0.2.6.tar.gz
  • Upload date:
  • Size: 268.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for anndata_mcp-0.2.6.tar.gz
Algorithm Hash digest
SHA256 bc916c618643f24e1e3a2dc81e629a75eb61a23b89b1e00b3001d04d3d3ea09e
MD5 bd3d76c2e2cf302ee353f561a8a0bf56
BLAKE2b-256 cad2d4586bf7b475bf8a89b2a7bcea5305911eebd3e9b14c0e9c75cb305e4a75

See more details on using hashes here.

Provenance

The following attestation bundles were made for anndata_mcp-0.2.6.tar.gz:

Publisher: release.yaml on biocontext-ai/anndata-mcp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file anndata_mcp-0.2.6-py3-none-any.whl.

File metadata

  • Download URL: anndata_mcp-0.2.6-py3-none-any.whl
  • Upload date:
  • Size: 19.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for anndata_mcp-0.2.6-py3-none-any.whl
Algorithm Hash digest
SHA256 8149e892733d986c9edfcc15595534056d972899d437b3e0d02c9752b5c805f8
MD5 9c375d2710e6371a4fb04c810ba9a7e3
BLAKE2b-256 c2f5fca1306d0376ad1393ffc7210939d4333e9425e38fc6259274425cf2dff9

See more details on using hashes here.

Provenance

The following attestation bundles were made for anndata_mcp-0.2.6-py3-none-any.whl:

Publisher: release.yaml on biocontext-ai/anndata-mcp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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