Skip to content
VS Code

Med Research for VS Code

io.github.emilkrebs/med-research-mcp

Evidence-graded literature search: PubMed, Europe PMC, ChinaXiv, RussiaRxiv with study-design tiers.

client:VS Code transport:stdio runtime:npm

Install Med Research in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "ncbi-email",
      "description": "NCBI_EMAIL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "ncbi-api-key",
      "description": "NCBI_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "med-research-unpaywall-email",
      "description": "MED_RESEARCH_UNPAYWALL_EMAIL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "med-research-proxy-prefix",
      "description": "MED_RESEARCH_PROXY_PREFIX",
      "password": true
    }
  ],
  "servers": {
    "med-research-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "med-research-mcp"
      ],
      "env": {
        "NCBI_EMAIL": "${input:ncbi-email}",
        "NCBI_API_KEY": "${input:ncbi-api-key}",
        "MED_RESEARCH_UNPAYWALL_EMAIL": "${input:med-research-unpaywall-email}",
        "MED_RESEARCH_PROXY_PREFIX": "${input:med-research-proxy-prefix}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

Med Research in other clients