loading…
Search for a command to run...
loading…
Enables AI assistants to query gene annotations, expression, pathways, variants, and more via the MyGene.info API, supporting batch operations and multiple biol
Enables AI assistants to query gene annotations, expression, pathways, variants, and more via the MyGene.info API, supporting batch operations and multiple biological data sources.
CI MCP Server Python 3.12+ License: MIT
A Model Context Protocol (MCP) server that exposes the MyGene.info API as a set of tools for AI assistants.
UV is a fast Python package and project manager.
pip install uv
MCPM is a package manager for MCP servers that simplifies installation and configuration.
pip install mcpm
cd mygene-mcp
uv sync
# Make sure you're in the project directory
cd mygene-mcp
# Set Claude as the target client
mcpm target set @claude-desktop
# Add the MyGene MCP server
mcpm import stdio mygene \
--command "$(uv run which python)" \
--args "-m mygene_mcp.server"
Then restart Claude Desktop.
uv run python -m mygene_mcp.server
You can choose a specific transport when starting the FastMCP server:
uv run python -m mygene_mcp.server --transport stdio # default (Claude Desktop)
uv run python -m mygene_mcp.server --transport sse --host 0.0.0.0 --port 8000
uv run python -m mygene_mcp.server --transport http --host 0.0.0.0 --port 8000
When running with --transport sse or --transport http, the server exposes a discovery document at /.well-known/mcp.json and a health check at /.
uv sync --extra dev
uv run pytest tests/ -v
Run in your terminal:
claude mcp add mygene-mcp-server -- npx Security
Low riskAutomated heuristic from public metadata — not a security guarantee.