DeepMap MCP

DeepMap MCP

Enables LLMs to directly access and analyze cancer dependency data from the DepMap, including gene search, dependency summaries, and top cell line dependencies, for therapeutic target evidence collection.

Category
访问服务器

README

🧬 DeepMap MCP

MCP Version Python Version License: MIT

A high-performance Model Context Protocol (MCP) server that provides Large Language Models (LLMs) with direct, structured access to the Broad Institute's DepMap (Cancer Dependency Map) data.

Specifically designed for "Therapeutic Target Evidence Collection," this server enables agents to perform functional genomics analysis across 1,000+ cancer cell lines using the latest CRISPR (DepMap 25Q3) datasets.


🏗️ Architecture & Workflow

The server acts as a low-latency bridge between the raw DepMap CSV datasets and any MCP-compatible client (like Claude Desktop or the Agent4Target orchestrator).

graph TD
    User([User / LLM Client]) <-->|MCP Protocol| Server[DeepMap MCP Server]
    
    subgraph "Internal Engine"
        Server --> Router{Tool Router}
        Router --> S1[search_depmap_gene]
        Router --> S2[get_depmap_gene_dependency_summary]
        Router --> S3[get_depmap_top_cell_line_dependencies]
        
        S1 & S2 & S3 --> Client[DepMapClient Singleton]
        Client --> Cache[(Local CSV Cache)]
        Cache -.->|Initial Setup| Download[DepMap API]
    end
    
    subgraph "Data Output"
        Client --> Pydantic[Pydantic Result Models]
        Pydantic --> Server
    end

🚀 Quick Start

1. Installation

pip install deepmap-mcp

2. Data Initialization (Mandatory)

DeepMap datasets are large (~300MB). Run the included downloader to fetch the latest CRISPR gene effect file to your local cache:

deepmap-mcp-download-data

3. Running the Server

You can run the server over stdio (standard for Claude Desktop) or HTTP SSE:

# Run over stdio (Standard)
deepmap-mcp --transport stdio

# Run as local HTTP server (SSE)
deepmap-mcp --port 8001

🛠️ Tools Documentation

search_depmap_gene

Search for valid HGNC gene symbols within the DepMap dataset.

  • Inputs: query (string, e.g., "KR")
  • Use Case: Resolving partial symbols or verifying if a gene exists in the screen.

get_depmap_gene_dependency_summary

Retrieve global statistical metrics for a specific gene across the entire cell line compendium.

  • Inputs: gene_symbol (string, e.g., "EGFR")
  • Returns: Meta-analysis including average_gene_effect, strong_dependency_count, and confidence_score.

get_depmap_top_cell_line_dependencies

Identify the specific cancer models most sensitive to the loss of the target gene.

  • Inputs: gene_symbol, top_n (default: 15)
  • Use Case: Critical for Section 3 of Target Evidence Reports.

get_depmap_dataset_metadata

Returns provenance data about the local cache.

  • Use Case: Ensuring reports cite the correct data release (e.g., "DepMap 25Q3").

⚙️ Configuration

Set these environment variables to customize behavior:

Variable Default Description
DEEPMAP_MCP_DATASET_PATH ~/.cache/deepmap-mcp/... Path to the CRISPR CSV file.
DEEPMAP_MCP_HTTP_PORT 8001 Port for SSE transport.
DEEPMAP_MCP_TRANSPORT stdio stdio or http.
DEEPMAP_LOG_LEVEL INFO Verbosity of server logs.

🖥️ Usage in Claude Desktop

Add this to your claude_desktop_config.json:

{
  "mcpServers": {
    "deepmap-mcp": {
      "command": "deepmap-mcp",
      "args": ["--transport", "stdio"],
      "env": {
        "DEEPMAP_MCP_DATASET_PATH": "/YOUR/ABSOLUTE/PATH/TO/CRISPRGeneEffect.csv"
      }
    }
  }
}

🧪 Development

Contributions are welcome!

# Clone and setup
git clone https://github.com/your-org/deepmap-mcp
cd deepmap-mcp
uv sync

# Run tests
uv run pytest

📄 License

MIT © 2026 DeepMap MCP Contributors.

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选