Mosaic Pre-Clinical Intelligence

io.github.sourabhnk由 GitHub 账号 sourabhnk 发布v2.2.1更新于 Oct 25, 2026

Pre-clinical drug-target intelligence: 60 curated targets, 1,969 counted partner genes, 11 tools

发布方自己的服务:[PREPROD] Clinical.ly Research Suite

已验证STDIO仅桌面数据库AI 与机器学习

概览

AI 生成的概览

本地 MCP 服务器,基于你自己的 PostgreSQL Mosaic 数据库回答临床前药物靶点问题,含 5 个免费和 6 个 Pro 工具。

可以做什么
查询靶点档案、具有实测活性的化合物、相关论文和 AlphaFold 结构,每项都带覆盖状态,缺失数据不会显示为零。对任意人类基因符号查看覆盖网格,身份与结构实时解析。启用 Pro 后可查看临床试验、实验验证先例、通路背景及靶点的一跳网络。评估合成致死空白区和候选耐药旁路靶点。免费调用最多返回 10 条化合物或论文,Pro 最多 50 条。
适用场景
当你已拥有带 Mosaic schema 的 PostgreSQL 实例,并希望助手通过 stdio 在本地查询药物靶点情报时使用。它不是 Mosaic 精选数据的来源;README 指出这类数据需使用另一个托管服务器。
运行要求
本地 Python 运行环境(pip、uvx 或 python -m),以及 DATABASE_URL 中的 PostgreSQL 或 Neon 连接字符串,须以 /mosaic_db 结尾并包含 Mosaic schema。可选 MOSAIC_TIER 和 MOSAIC_API_KEY。仅支持 stdio,本包未实现远程传输。
安装前请注意
DATABASE_URL 是含凭据的机密连接字符串,且为必填。MOSAIC_API_KEY 不在本地校验:stdio 模式下任何值都被视为 Pro,因此层级限制不会生效。本包只提供查询,不含数据,也不提供共享只读实例。档案工具仅在托管服务器上可用。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Mosaic Pre-Clinical Intelligence,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

mosaic-mcp

Pre-clinical drug-target intelligence as an MCP server: target profiles, compounds, literature, structure, clinical pipeline, validation precedent and whitespace analysis — 11 tools, 5 free and 6 Pro. Every count carries a coverage state, so "we did not look" never renders as zero.

Which one do you want?

This package is bring-your-own-database. It is the MCP tool layer only — it ships the queries, not the data. You point it at a PostgreSQL instance you control, with the Mosaic schema, and it serves the tools over it. There is no public read-only credential for Mosaic's knowledge graph.

If you want Mosaic's curated knowledge graph — 60 oncology targets, ~128K compounds linked to them, 57,896 papers and 9,062 clinical trials (counted 2026-10-07), refreshed monthly — use the hosted server. It needs no database and no local install:

  • Claude.ai connector (OAuth, Streamable HTTP): https://mcp.getmosaic.dev/mcp
  • Remote MCP with an API key (SSE): https://mcp.getmosaic.dev/sse
  • Sign in, API keys and on-demand dossiers for any human gene: https://getmosaic.dev

Quick start (self-hosted)

bash
pip install mosaic-mcp

With Claude Desktop

Add to your claude_desktop_config.json:

json
{  "mcpServers": {    "mosaic": {      "command": "mosaic-mcp",      "env": {        "DATABASE_URL": "postgresql://USER:PASSWORD@YOUR-HOST:5432/mosaic_db?sslmode=require"      }    }  }}

With Claude Code

bash
claude mcp add mosaic -- mosaic-mcp

Standalone

bash
export DATABASE_URL="postgresql://..."   # your own Postgresmosaic-mcp                               # stdio transport

uvx mosaic-mcp and python -m mosaic_mcp.server work too. This package is stdio-only: --transport sse exits with NotImplementedError, because remote transport is the hosted server above.

Tools

Free (5)

ToolWhat it returns
mosaic_get_target_profileThe target dossier: biology, approved and clinical drugs, disease associations ranked by Open Targets, validation evidence, organisations, scores — each axis with its coverage state
mosaic_get_target_compoundsCompounds with measured activity on the target; sort by potency (default) or by max clinical phase
mosaic_get_target_papersPapers about the target, matched by NCBI Gene ID (PubTator3) where your database has the annotations, up to the declared corpus cutoff
mosaic_get_target_structureAlphaFold structural snapshot and pockets, with a caution when a pocket is lined by low-confidence residues
mosaic_get_coverage_gridA coverage grid for any human gene symbol: identity (HGNC) and structure (AlphaFold DB) resolve live; the other axes are marked queued

Free calls return up to 10 compounds or papers; Pro up to 50.

Pro (6)

ToolWhat it returns
mosaic_clinical_pipelineClinical trials for compounds acting on the target (a ChEMBL mechanism link or pChEMBL ≥ 6)
mosaic_target_validationAssay precedent: what has been tried, in what model system
mosaic_pathway_contextThe pathways the target sits in
mosaic_target_networkThe target's 1-hop neighbourhood: compounds, diseases, pathways, organisations, interacting proteins
mosaic_synthetic_lethal_whitespacePartners functionally coupled to the target with little drug activity — assessed candidates and unassessed partners kept apart
mosaic_resistance_bypass_mapCandidate resistance-bypass and escape targets

mosaic_request_dossier and mosaic_get_dossier (on-demand dossiers) run only on the hosted server; they need its fetch and synthesis pipeline.

Configuration

VariableRequiredDescription
DATABASE_URLYesPostgreSQL connection string for your own instance; the path must name the database that holds the Mosaic schema.
MOSAIC_TIERNopro (or enterprise) enables the Pro tools in a self-hosted install.
MOSAIC_API_KEYNoIn stdio mode any value is treated as Pro; it is not checked locally. Keys are validated by the hosted server.

Changelog

Full history in CHANGELOG.md. Latest: 2.1.1 — the mosaic-mcp command starts again (it had failed with ImportError since 1.7.0). 2.1.0 capped mcp below 2, without which a fresh install died on import, and carried the fixes from a live audit of the hosted server.

License

Apache 2.0 for the MCP server tools. The hosted knowledge graph data requires a subscription for Pro-tier access.

来源:README.md,提交 49b7ac1

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

6
  1. v2.2.1最新Oct 17, 2026
  2. v2.2.0Oct 16, 2026
  3. v2.1.3Oct 14, 2026
  4. v2.1.1Oct 7, 2026
  5. v2.0.0Sep 22, 2026
  6. v1.7.2Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

其他 Clinical 集成