Real World Evidence MCP Server

RWE tool

Local serverstdioPython

What is the Real World Evidence MCP server?

Real World Evidence MCP server exists for a simple reason — assistants are far more useful when they can act on Real World Evidence directly instead of describing what you should do. RWE tool.

What you get

A local Model Context Protocol (MCP) server that exposes a single Real-World Evidence (RWE) tool to Claude. The tool returns aggregated, de-identified patient cohort statistics across four dimensions:

What the assistant can call

Once Real World Evidence is connected, these are the calls the assistant has available:

  • Hypertension — Heart Failure
  • COPD — Asthma
  • Dimension — Values
  • Gender — Male, Female, Unknown/Other
  • Longitudinal — 2018 – 2024 (year-over-year trend)
  • macOS — ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows — %APPDATA%\Claude\claude_desktop_config.json
  • condition — string
  • dimensions — string[]
  • year_start — int
  • year_end — int
  • region — string

Configuration and credentials

You will need one environment variable: MCP_TRANSPORT. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.

Setting it up

Setup follows the usual MCP pattern — install or clone the server, register it in your client's configuration file, restart the client.

Choosing this one

Among the developer tooling options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. Real World Evidence's toolset — Hypertension, COPD, Dimension and 11 more — is a fair guide to whether it matches your workflow.

SyncDev reviews every entry in this directory against the project's own documentation before publishing, and revisits them as servers change.

Before you rely on it

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • With 14 tools registered it takes up a noticeable share of the context window; turn it off in projects that never touch Real World Evidence.
  • MCP clients confirm each tool call by default. Leave that on until you have watched what the real world evidence mcp server does with a few real requests.

Available tools

ToolWhat it does
HypertensionHeart Failure
COPDAsthma
DimensionValues
GenderMale, Female, Unknown/Other
Longitudinal2018 – 2024 (year-over-year trend)
macOS~/Library/Application Support/Claude/claude_desktop_config.json
Windows%APPDATA%\Claude\claude_desktop_config.json
conditionstring
dimensionsstring[]
year_startint
year_endint
regionstring
query_rwe_patient_cohortThe query_rwe_patient_cohort tool exposed by this server.
ParametersThe Parameters tool exposed by this server.

Configuration

VariableDescriptionRequired
MCP_TRANSPORTConfiguration value read at startup.Optional

Example prompts to try

  • Use Real World Evidence to Hypertension.
  • Use Real World Evidence to COPD.
  • Use Real World Evidence to Dimension.

Frequently asked questions

It connects Real World Evidence to MCP-compatible AI assistants such as Claude and Cursor, exposing 14 tools (Hypertension, COPD, Dimension, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Real World Evidence directly.