Skip to main content

mosaic-mcp

Coverage-honest pre-clinical target intelligence over MCP. Every count carries a coverage state, so "we did not look" never reads as zero.

3.0.0 is a thin client to the hosted Mosaic service. It serves Mosaic's five MCP tools over stdio and forwards every call to https://mcp.getmosaic.dev/mcp with your API key. It holds no database and no query layer: the answers, and any refusal, are the hosted service's.

Deprecated: the 2.x bring-your-own-database mode. Versions up to 2.2.1 ran Mosaic's query layer over a PostgreSQL database you provided (DATABASE_URL). That mode is deprecated and is not in 3.0.0; DATABASE_URL is ignored. Its eleven tools answer an old client by name with what replaced them. To keep running it, pin mosaic-mcp<3 (2.2.1 is the last release).

Do you need this package?

If your MCP client can connect to a remote server, you do not: add https://mcp.getmosaic.dev/mcp as a connector (in claude.ai: Settings → Connectors → Add custom connector). It signs you in by email (OAuth) and needs no key and no install.

This package is for clients that only run local (stdio) servers.

Quick start

pip install mosaic-mcp          # or: uvx mosaic-mcp
export MOSAIC_API_KEY="mk_live_..."
mosaic-mcp                      # stdio MCP server

With Claude Desktop

{
  "mcpServers": {
    "mosaic": {
      "command": "uvx",
      "args": ["mosaic-mcp"],
      "env": { "MOSAIC_API_KEY": "mk_live_..." }
    }
  }
}

With Claude Code

claude mcp add mosaic --env MOSAIC_API_KEY=mk_live_... -- uvx mosaic-mcp

Tools

Tool Tier What it does
mosaic_get_coverage_grid free A coverage grid for any human gene symbol: every axis with its state; network axes queued until a dossier fetches them
mosaic_verify_claim free, rate-limited One claim about a target checked against Mosaic's own independent count, in at most 10 s, with one of seven verdicts (confirmed, contradicted, cannot_verify_same_source, cannot_verify_floor, cannot_verify_unavailable, cannot_verify_unscoped, out_of_scope)
mosaic_audit_claims paid ($390 an audit) Every target-level claim in a document (a press release, a filing section, an AI-generated assessment), audited; async
mosaic_request_dossier paid ($149 a dossier) A verified dossier for any human target; async
mosaic_get_result free The status and result of a dossier (dossier-N) or audit (audit-N) you requested; only your own

The tier, the price and any refusal come from the hosted service; this package decides none of them.

Configuration

Variable Required Description
MOSAIC_API_KEY Yes Your Mosaic API key (mk_live_…), sent as a Bearer token. Without it every call says so and sends nothing.
MOSAIC_MCP_URL No The hosted MCP endpoint. Default https://mcp.getmosaic.dev/mcp.

A call the hosted service could not answer (unreachable, a timeout, a rejected key) is returned as an error saying so: never as an empty or a zero result.

Changelog

Full history in CHANGELOG.md. 3.0.0: a thin client to the hosted service with the five tools of plan v3 §3.1; the bring-your-own-database mode and its eleven tools are retired (each answers with its replacement).

License

Apache 2.0.

Metadata

Release files for mosaic-mcp 3.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mosaic-mcp 3.0.1
File Size Uploaded Provenance Actions
mosaic_mcp-3.0.1.tar.gz 21.4 kB Without provenance Details for mosaic_mcp-3.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for mosaic-mcp 3.0.1
File Interpreter ABI Platform Actions
mosaic_mcp-3.0.1-py3-none-any.whl Python 3 none any Details for mosaic_mcp-3.0.1-py3-none-any.whl

Total release size: 36.9 kB

Release files / mosaic_mcp-3.0.1.tar.gz

Download URL mosaic_mcp-3.0.1.tar.gz
Size 21.4 kB
Tags Source
SHA-256 checksum
How to use checksums
204625e557897ee5f7ade39a838b99c119a02643cf1c955925be459fb252ec61
BLAKE2b-256 checksum
How to use checksums
5e3e95b1d4ff6c64de4cefab224c4a858a9a3f3c6e19df4717d49a7677efb219
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.5

Release files / mosaic_mcp-3.0.1-py3-none-any.whl

Download URL mosaic_mcp-3.0.1-py3-none-any.whl
Size 15.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
389a59a31112c88057e9d0ffd2b47a63c40b93260071e8176efe4e04b8e1d6e8
BLAKE2b-256 checksum
How to use checksums
6396cf01e36c0519a0a85b3d7d26ec662d6702bf5ba96d6c186020b94d34d9f2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.5

Security for mosaic-mcp 3.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page