# Med Research

> Med Research is an open-source MCP server for academic research. MCP server that lets AI assistants search PubMed and preprint servers with study-design. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, macOS, Windows, Linux, Self-hosted, API
- **Website:** https://emilkrebs.dev/med-research-mcp/
- **Repository:** https://github.com/emilkrebs/med-research-mcp
- **MCP Registry name:** io.github.emilkrebs/med-research-mcp
- **Categories:** [academic research](https://ai-powered.com/categories/academic-research)
- **Listing updated:** 2026-11-28

## About

Med Research gives an AI assistant a way to query PubMed, Europe PMC, ChinaXiv and RussiaRxiv in one pass. Results from the four sources are merged and de-duplicated before the assistant reads them.

Each hit carries a study-design label taken from NLM metadata, a rank on an evidence hierarchy, and flags for retractions, corrections, preprints and machine-translated text. Records without that metadata are marked unknown rather than guessed at, so the assistant can separate a meta-analysis from a case report before it answers.

It is aimed at people doing medical, clinical or supplementation research who want to see what the literature says rather than skim abstracts. It runs locally with no accounts or telemetry, and the author notes it is a research aid, not medical advice.

## Features

- **Multi-database literature search:** Queries PubMed, Europe PMC and two preprint sources together and merges the results.
- **Study-design labels:** Tags each result with its study type and a position on the Oxford CEBM evidence levels.
- **Integrity flags:** Warns when a paper is retracted, corrected, has an expression of concern, or is a preprint.
- **Full-text retrieval:** Returns full text as markdown via open-access copies, an optional institutional proxy, or machine translation for ChinaXiv and RussiaRxiv records.
- **Bundled agent skills:** Includes skills for writing PubMed queries, appraising evidence and installing the server.
- **Local operation:** Runs on your own machine with optional memory or SQLite caching and no LLM calls of its own.

## Good for

- Checking whether a supplement or treatment has human trial evidence before answering a question
- Finding systematic reviews and meta-analyses on a clinical topic
- Screening retracted or corrected papers out of a literature review
- Pulling methods, dosage or sample size details from full-text articles
- Comparing evidence across English-language and Chinese or Russian preprint sources

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add med-research-mcp --env NCBI_API_KEY='<NCBI_API_KEY>' -- npx -y med-research-mcp
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "med-research-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "med-research-mcp"
      ],
      "env": {
        "NCBI_API_KEY": "<NCBI_API_KEY>"
      }
    }
  }
}
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "med-research-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "med-research-mcp"
      ],
      "env": {
        "NCBI_API_KEY": "<NCBI_API_KEY>"
      }
    }
  }
}
```

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "med-research-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "med-research-mcp"
      ],
      "env": {
        "NCBI_API_KEY": "<NCBI_API_KEY>"
      }
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "med-research-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "med-research-mcp"
      ],
      "env": {
        "NCBI_API_KEY": "<NCBI_API_KEY>"
      }
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add med-research-mcp --env NCBI_API_KEY='<NCBI_API_KEY>' -- npx -y med-research-mcp
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.med-research-mcp]
command = "npx"
args = ["-y", "med-research-mcp"]
env = { NCBI_API_KEY = "<NCBI_API_KEY>" }
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "med-research-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "med-research-mcp"
      ],
      "env": {
        "NCBI_API_KEY": "<NCBI_API_KEY>"
      }
    }
  }
}
```

Or run: gemini mcp add -s user -e NCBI_API_KEY='<NCBI_API_KEY>' med-research-mcp npx -- -y med-research-mcp

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "med-research-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "med-research-mcp"
      ],
      "env": {
        "NCBI_API_KEY": "<NCBI_API_KEY>"
      }
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "med-research-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "med-research-mcp"
      ],
      "env": {
        "NCBI_API_KEY": "<NCBI_API_KEY>"
      }
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "med-research-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "med-research-mcp"
      ],
      "env": {
        "NCBI_API_KEY": "<NCBI_API_KEY>"
      }
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "med-research-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "med-research-mcp"
      ],
      "env": {
        "NCBI_API_KEY": "<NCBI_API_KEY>"
      }
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "med-research-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "med-research-mcp"
      ],
      "env": {
        "NCBI_API_KEY": "<NCBI_API_KEY>"
      }
    }
  }
}
```

The AI Assistant docs only show command and args. If the env block is ignored, use Junie for this server.

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "med-research-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "med-research-mcp"
      ],
      "env": {
        "NCBI_API_KEY": "<NCBI_API_KEY>"
      }
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "med-research-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "med-research-mcp"
      ],
      "env": {
        "NCBI_API_KEY": "<NCBI_API_KEY>"
      }
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "med-research-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "med-research-mcp"
      ],
      "env": {
        "NCBI_API_KEY": "<NCBI_API_KEY>"
      }
    }
  }
}
```

## Tools

From the tool list in its README, going by the names, 2 of 3 tools read data; 1 name doesn't say. From the server's own tool labels and tool names; not verified by us.

- `literature_search` (name suggests: reads): Searches one or more databases and labels each result with its study design, design tier and integrity flags.
- `literature_fetch` (name suggests: reads): Returns the full record and abstract of specific papers.
- `literature_fulltext`: Returns the full text of a paper as markdown when an open-access or licensed copy can be found.

## FAQ

### Which databases does Med Research search?

PubMed through NCBI, Europe PMC through EMBL-EBI, and the ChinaXiv and RussiaRxiv sources via ChinaRxiv.

### What does an unknown study type mean?

It means the record has no study-design metadata, which is common for recent papers, non-MEDLINE journals and the preprint sources. It does not imply the study is weak.

### Does Med Research need an API key?

No. An NCBI email is recommended and an NCBI API key is optional for a higher PubMed rate limit.

### How is Med Research installed?

It runs from npm with npx for Claude Code, Cursor, Windsurf and Cline, or as a .mcpb bundle for Claude Desktop.

### Is Med Research free?

Yes. Med Research is open source, so you can use and self-host it for free.

### How do I add Med Research to Claude Code?

Run this command in your terminal: claude mcp add med-research-mcp --env NCBI_API_KEY='<NCBI_API_KEY>' -- npx -y med-research-mcp

### What are the best alternatives to Med Research?

The closest alternatives to Med Research are Research Papers MCP, Biolab MCP Server, BioData MCP, Paper Sources and BioData MCP.

## Where this comes from

- Description: written from the project's README and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [Research Papers MCP](https://ai-powered.com/mcp/research-papers-mcp): Research Papers MCP is a paid MCP server for health and science.
- [Biolab MCP Server](https://ai-powered.com/mcp/biolab-mcp-server): Biolab MCP Server is an open-source MCP server for academic research.
- [BioData MCP](https://ai-powered.com/mcp/biodata-mcp): BioData MCP is a freemium MCP server for academic research.
- [Paper Sources](https://ai-powered.com/mcp/paper-sources): Paper Sources is an open-source MCP server for health and science.
- [BioData MCP](https://ai-powered.com/mcp/biodata-mcp-2): BioData MCP is a freemium MCP server for academic research.
- [Peer Research Papers MCP](https://ai-powered.com/mcp/peer-research-papers-mcp): Peer Research Papers MCP is a paid MCP server for health and science.
- [Academic Research Search](https://ai-powered.com/mcp/academic-research-search): Academic Research Search is an MCP server for health and science.
- [PubMed Scraper](https://ai-powered.com/mcp/pubmed-scraper): PubMed Scraper is a paid MCP server for health and science.

---
Source: https://ai-powered.com/mcp/med-research
