1. Conduid
  2. Developer Tools
  3. Genome MCP
MCP server · Developer Tools

Genome MCP

Genome MCP server - 优化版本:智能基因组数据访问

Unclaimed MIT last commit 9 months ago mcpdevtools
52Fair

Scored 2 days ago · breakdown

About Genome MCP

Genome MCP is an MCP server published by gqy20 in the Developer Tools category: genome MCP server - 优化版本:智能基因组数据访问. It has been installed 0 times through Conduid.

The repository has 2 stars and 0 forks, with the last commit 9 months ago. Six months or more without a commit doesn't mean the server is broken, but check the open issues (0) before depending on it in production.

Install

Install
npx genome-mcp

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

Ask AI about Genome MCP

Powered by Claude · Grounded in docs

I know everything about Genome MCP. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

  • ·README presentNot checked yet.
  • ·License declaredNot checked yet.
  • ·Tests presentNot checked yet.
  • ·Dependencies pinnedNot checked yet.
  • ·No dynamic code executionNot checked yet.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

Releases

v0.2.6Release v0.2.6 · 8 Dec 2025Version 0.2.6 chore: 升级版本到 v0.2.6 版本更新内容: 修复STDIO模式下的MCP协议兼容性问题 更新CI/CD配置到最新版本(Python 3.12, GitHub Actions v6) 优化Cherry Studio等MCP客户端的兼容性 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude…
v0.2.5Release v0.2.5 · 28 Oct 2025Version 0.2.5 chore: 全面更新项目版本到v0.2.5 更新main.py文档字符串版本信息 更新USAGE_EXAMPLES.md中的版本引用 更新CLAUDE.md中的项目概述版本 新增CHANGELOG.md v0.2.5详细更新日志 确保所有文档与实际版本号保持一致 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude…
v0.2.4Release v0.2.4 · 27 Oct 2025Version 0.2.4 fix: 修复所有工具的关键问题,v0.2.4重大功能修复版本 本次更新修复了所有已知问题,确保所有工具都能正常工作,是一次重大的功能修复版本。 核心修复 1. Ensembl客户端API修复 修复Ensembl API参数格式错误,移除不支持的target_species参数 改为在结果中进行物种过滤,确保API调用成功 效果:同源基因查询从0个结果提升到253个结果 2. 查询解析器优化…
v0.2.3Release v0.2.3 · 26 Oct 2025Version 0.2.3 chore: 同步本地版本号为v0.2.3 pyproject.toml: version = "0.2.3" src/genome_mcp/__init__.py: __version__ = "0.2.3" 确保GitHub Actions能构建正确的版本号 安装方式 pip install genome-mcp 快速开始 genome-mcp --help 功能特性 🔍 智能查询解析:支持自然语言和结构化查询 📊…
v0.2.2Release v0.2.2 · 26 Oct 2025Version 0.2.2 chore: 版本升级到v0.2.2,完善uv工具链集成 🚀 版本更新内容 📦 版本升级 项目版本**: 0.2.1 → 0.2.2 核心文件更新**: __init__.py, pyproject.toml, main.py 测试更新**: 集成测试版本验证 📚 文档版本同步 CLAUDE.md**: 更新所有v0.2.1引用为v0.2.2 CHANGELOG.md**: 添加v0.2.2版本条目 测试文件**: 更新版本验证测试 🎯…

README

Genome MCP

🧬 智能基因组数据服务器 - 通过MCP协议提供高质量的基因信息查询、同源基因分析和进化研究功能。可在 Glama MCP平台 发现和快速配置。

PyPI version Python versions Tests Glama MCP Server

1. 🚀 核心特性

  • 🧬 基因信息查询: 基于NCBI Gene数据库的准确基因信息
  • 🔄 同源基因分析: 基于Ensembl API的跨物种同源基因查询(253+ TP53同源基因)
  • 🧬 进化分析: 系统发育关系构建和保守性分析
  • 🔍 语义搜索: 理解查询意图的智能搜索功能
  • 📊 批量处理: 优化的并发查询,支持大规模数据分析
  • 🌐 多传输模式: 支持STDIO、HTTP、SSE传输协议
  • ⚡ 异步架构: 高性能异步处理架构
  • 🔬 科学可靠: 基于权威数据库,无模拟数据,完全科学可信

2. 安装

推荐使用现代化的 uv 包管理器以获得更快的安装速度:

# 使用uvx直接运行(推荐)
uvx genome-mcp

# 或添加到项目
uv add genome-mcp

传统方式安装:

pip install genome-mcp

3. 🛠️ MCP 接入配置

3.1 Claude Desktop

编辑配置文件:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json

推荐使用 uvx 运行:

{
  "mcpServers": {
    "genome-mcp": {
      "command": "uvx",
      "args": ["genome-mcp"],
      "env": {}
    }
  }
}

或使用传统方式:

{
  "mcpServers": {
    "genome-mcp": {
      "command": "python",
      "args": ["-m", "genome_mcp"],
      "env": {}
    }
  }
}

或使用 uv run:

{
  "mcpServers": {
    "genome-mcp": {
      "command": "uv",
      "args": ["run", "-m", "genome_mcp"],
      "env": {}
    }
  }
}

3.2 Continue.dev

在 VS Code 的 Continue.dev 扩展配置中:

{
  "mcpServers": {
    "genome-mcp": {
      "command": "uvx",
      "args": ["genome-mcp"]
    }
  }
}

3.3 Cursor (VS Code 扩展)

在 Cursor 设置中添加:

{
  "mcpServers": {
    "genome-mcp": {
      "command": "uvx",
      "args": ["genome-mcp"],
      "env": {
        "GENOME_MCP_LOG_LEVEL": "info"
      }
    }
  }
}

3.4 Cline (Claude for VS Code)

在 Cline 设置文件中:

{
  "mcpServers": {
    "genome-mcp": {
      "command": "uvx",
      "args": ["genome-mcp"],
      "timeout": 30000
    }
  }
}

3.5 其他支持 MCP 的客户端

  1. Windsurf: 使用与 Claude Desktop 相同的配置格式
  2. OpenHands: 在 config.json 中添加服务器配置
  3. Custom MCP Client: 参考下面的 Python 示例

3.6 自定义 MCP 客户端

使用 stdio 传输:

import subprocess
import json

# 启动 MCP 服务器
process = subprocess.Popen(
    ["python", "-m", "genome_mcp"],
    stdin=subprocess.PIPE,
    stdout=subprocess.PIPE,
    text=True
)

# 发送初始化消息
init_message = {
    "jsonrpc": "2.0",
    "id": 1,
    "method": "initialize",
    "params": {
        "protocolVersion": "2024-11-05",
        "capabilities": {},
        "clientInfo": {"name": "test-client", "version": "1.0.0"}
    }
}

process.stdin.write(json.dumps(init_message) + "\n")
response = process.stdout.readline()
print("Server response:", response)

4. 🔧 API 功能

4.1 可用工具

  1. get_data - 智能数据获取

    • 支持基因符号、ID、区域搜索、同源基因查询
    • 自动类型识别和查询优化
    • 批量查询支持
  2. advanced_query - 高级批量查询

    • 复杂查询条件组合
    • 批量处理优化
    • 自定义输出格式
  3. smart_search - 语义搜索

    • 自然语言查询理解
    • 智能结果排序
    • 上下文感知搜索
  4. kegg_pathway_enrichment_tool - KEGG通路富集分析 🆕

    • 基因列表在KEGG通路中的富集分析
    • 超几何分布检验计算统计显著性
    • FDR多重检验校正
    • 支持人类、小鼠、大鼠等多种模式生物

4.2 使用示例

import asyncio
from genome_mcp import get_data, advanced_query, smart_search

async def main():
    # 获取基因信息
    gene_info = await get_data("TP53")
    print("Gene info:", gene_info)

    # 区域搜索
    region_data = await get_data("chr17:7565097-7590856", query_type="region")
    print("Region data:", region_data)

    # 批量查询
    batch_results = await get_data(["TP53", "BRCA1", "EGFR"], query_type="gene")
    print("Batch results:", batch_results)

    # 语义搜索
    search_results = await smart_search("tumor suppressor genes involved in cancer")
    print("Search results:", search_results)

    # 高级查询
    advanced_results = await advanced_query(
        query="cancer genes",
        query_type="search",
        database="gene",
        max_results=20
    )
    print("Advanced results:", advanced_results)

    # KEGG通路富集分析
    kegg_results = await kegg_pathway_enrichment_tool(
        gene_list=["7157", "672", "675"],  # TP53, BRCA1, BRCA2的Entrez ID
        organism="hsa",
        pvalue_threshold=0.05,
        min_gene_count=2
    )
    print("KEGG enrichment results:", kegg_results)

asyncio.run(main())

5. 📋 响应格式

所有API响应都遵循统一的JSON格式,包含 successdataquery_info 字段。

示例响应:

{
  "success": true,
  "data": {
    "gene_info": {
      "uid": "7157",
      "name": "TP53",
      "description": "tumor protein p53"
    }
  },
  "query_info": {
    "query": "TP53",
    "query_type": "gene"
  }
}

6. 💻 命令行使用

# 直接运行(推荐)
uvx genome-mcp

# 开发模式运行
uv run -m genome_mcp

# HTTP 服务器模式
uv run -m genome_mcp --port 8080

# 查看帮助
uv run -m genome_mcp --help

7. 📋 更新日志

详细的版本更新记录请查看 CHANGELOG.md

8. 📚 依赖

详细的依赖信息和版本要求请查看 pyproject.toml

Python 版本要求:>= 3.11

9. 🏗️ 开发

git clone https://github.com/gqy20/genome-mcp
cd genome-mcp
pip install -e ".[dev]"
make test
make lint

9.1 开发命令

make install    # 安装开发依赖
make format     # 格式化代码
make lint       # 代码质量检查
make test       # 运行测试
make check      # 完整检查
make build      # 构建包

10. 📄 许可证

本项目采用 MIT License 开源许可证。

© 2025 gqy20

11. 🤝 贡献

欢迎提交 Issue 和 Pull Request!

12. 📞 支持


Genome MCP - 让基因组数据访问更简单、更智能!

README mirrored from the source repository 2 days ago. The original is authoritative.

Questions

About Genome MCP

How do I install Genome MCP?

Run npx genome-mcp, then add the server to your MCP client's configuration. Conduid has recorded 0 installs, so the command is known to work with current clients.

Is Genome MCP safe to use with an AI agent?

Its trust score is 52 out of 100 (fair). It passes 0 of 1 static security checks; the failures are listed above. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Genome MCP still maintained?

The last commit was 9 months ago, with 0 open issues. That's long enough that you should check whether the maintainer is responding to issues before depending on it.