Skip to content
MCP server

Med Research

MCP server that lets AI assistants search PubMed and preprint servers with study-design

Runs locally

Med Research is an open-source MCP server for academic research. It runs locally on your machine and is started by your AI client.

Pricing
Open source
Platforms
CLI, macOS, Windows
Runs
Locally
Version
0.8.2
Listing updated

Similar MCP servers

Install

Add with the CLI

Run in a terminal

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.

Or share it with your project

Add to .mcp.json

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

Claude Code setup guide

Add to claude_desktop_config.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.

Claude Desktop setup guide

Add to ~/.cursor/mcp.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.

Cursor setup guide

Add to ~/.copilot/mcp-config.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.

VS Code setup guide

Add with the CLI

Run in a terminal

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

Or add to config.toml

Add to ~/.codex/config.toml

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

Codex setup guide

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "med-research-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "med-research-mcp"
      ],
      "env": {
        "NCBI_API_KEY": "<NCBI_API_KEY>"
      }
    }
  }
}
  • Gemini CLI and Antigravity

    Gemini CLI

    Add to ~/.gemini/settings.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

    Antigravity

    Add to ~/.gemini/config/mcp_config.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.

    Gemini CLI and Antigravity setup guide

  • Devin Desktop (formerly Windsurf)

    Add to ~/.config/devin/mcp_config.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.

    Devin Desktop setup guide

  • Cline

    Add to cline_mcp_settings.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.

    Cline setup guide

  • Zed

    Add to Zed settings.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.

    Zed setup guide

  • JetBrains AI Assistant and Junie

    AI Assistant

    Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add

    {
      "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.

    Junie

    Add to ~/.junie/mcp/mcp.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.

    JetBrains AI Assistant and Junie setup guide

  • Kiro

    Add to ~/.kiro/settings/mcp.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.

    Kiro setup guide

Using several servers? Build one config file with the MCP config generator.

Configuration

  • NCBI_EMAILYour contact email, sent with every NCBI (PubMed) request as its usage policy asks, so NCBI can reach you before blocking an IP that exceeds its limits. Also used for Unpaywall and ChinaRxiv when their own emails aren't set. Without one, NCBI and Unpaywall requests carry the project's contact address instead.
  • NCBI_API_KEYRaises the PubMed rate limit from 3 to 10 requests per second. Create one in your NCBI account settings.
  • MED_RESEARCH_UNPAYWALL_EMAILContact email for Unpaywall, which literature_fulltext asks for open-access copies. Falls back to NCBI_EMAIL, then to the project's contact address.
  • MED_RESEARCH_PROXY_PREFIXYour institution's EZproxy host for doi.org, e.g. https://doi-org.ezproxy.your-university.edu, to read paywalled papers you have access to. It works only if the proxy lets this machine in without a login, e.g. on the campus network or VPN. Use it only if your institution's licences allow it: many publishers forbid using subscription content with AI tools.

About Med Research

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.

Tools this server provides (3)

Taken from the project documentation; the running server may differ.

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_searchName suggests: reads
Searches one or more databases and labels each result with its study design, design tier and integrity flags.
literature_fetchName 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.

What it does

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

Pricing

Open source

Free MIT-licensed server that runs locally.

Prices change. Check emilkrebs.dev before you buy.

Med Research 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.

How AIPoweredBot checks servers