Logo di OpenEvidence MCP (Unofficial)

OpenEvidence MCP (Unofficial)

Community
bakhtiersizhaev

First open-source OpenEvidence MCP server: browser-session medical research tools for Codex, Claude Code, and MCP clients

Autorebakhtiersizhaev
Repositoryopenevidence-mcp
LinguaTypeScript
Fork
11
Stelle
47
Strumenti disponibili
0
Tipo di trasportostdio
Categorie
LicenzaApache-2.0
Link
  • Collega gli strumenti ai flussi di lavoro IA

    OpenEvidence MCP (Unofficial) mette a disposizione funzionalità MCP utilizzabili da client e agenti IA compatibili.

  • 0 strumenti disponibili

    Esplora le azioni richiamabili qui sotto, con nomi e descrizioni quando forniti dal server.

  • Configurazione pronta da copiare

    Usa gli esempi di installazione per configurare questo server nel tuo client MCP preferito.

  • Indicatori di interesse open source

    47 stelle e 11 fork nel repository collegato.

OpenEvidence MCP (Unofficial)

No API key is required. Authenticate once with npm run login:session; the server reuses your local browser profile. Registry metadata version 0.2.2 continues to use the existing npm package 0.2.1.

OpenEvidence MCP is an unofficial Model Context Protocol server that connects OpenEvidence to Codex, Claude Code, Claude Desktop, Cursor, Cline, Continue, and other MCP-compatible clients through your own authenticated browser session.

License: Apache-2.0 Node.js 20+ TypeScript MCP SDK Playwright

[!IMPORTANT] This project is unofficial and is not affiliated with OpenEvidence. It does not provide medical advice, does not bypass access controls, and should only be used with your own OpenEvidence account in compliance with applicable terms, privacy rules, and clinical governance requirements.

Translations: Русский | Español | 简体中文 | 繁體中文(台灣) | 한국어 | हिन्दी

Agent Onboarding & Installation

Using Codex, Claude Code, Cursor, or another local AI coding agent? You can let the agent handle the entire setup, compilation, and local MCP configuration for you!

Copy and paste this short bootstrap prompt directly into your local AI coding assistant:

text
Please install OpenEvidence MCP for me: clone https://github.com/bakhtiersizhaev/openevidence-mcp, install dependencies, run build, auto-configure this MCP server in my local client (Claude Desktop/Codex/Cursor), guide me through the one-time Edge/Chrome login using `npm run login:session`, and run `npm run smoke` to verify. Keep everything strictly local and secure.

For the comprehensive, step-by-step setup playbook and rules, see docs/AGENT_INSTALL_PROMPT.md.

What it does

OpenEvidence MCP runs a local stdio MCP server that lets MCP clients use your existing OpenEvidence browser session for:

  • checking whether the saved session is authenticated;
  • listing your OpenEvidence question/article history;
  • fetching a full article payload by ID;
  • asking an OpenEvidence research question and optionally waiting for completion;
  • polling an existing OpenEvidence article until it completes.

No official OpenEvidence API token is required.

What it does NOT do

  • It is not affiliated with, endorsed by, or approved by OpenEvidence.
  • It does not provide medical advice or replace clinical judgment.
  • It does not bypass authentication, paywalls, or access controls.
  • It does not collect credentials.
  • It does not send your browser session state anywhere except to OpenEvidence through local requests from your machine.
  • It should not be used for patient-specific diagnosis or treatment decisions without appropriate human review.

Who it is for

  • clinicians using their own OpenEvidence account;
  • medical researchers;
  • AI operators building evidence-research workflows;
  • MCP developers integrating local tools with Codex, Claude, Cursor, Cline, Continue, or similar clients.

Tested / Target Clients

This project is designed for MCP-compatible clients and local agent workflows. Only Codex and Claude-style local configuration examples are maintained in this repository unless otherwise noted.

ClientStatusNotes
OpenAI Codex / Codex CLI / Codex appTargetRecommended local MCP workflow.
Claude CodeTargetRecommended agent workflow.
Claude Desktop / Claude app with MCP supportTargetLocal MCP server configuration.
CursorCompatibleMCP-compatible IDE workflow.
ClineCompatibleVS Code agent workflow.
ContinueCompatibleOpen-source IDE assistant workflow.
VS Code / GitHub Copilot environments with MCP supportExperimentalDepends on local MCP support and client configuration.
Windsurf / Zed / Replit / Sourcegraph-style MCP hostsExperimentalNot guaranteed unless tested.
Gemini CLI / Google Antigravity-style agent environmentsExperimentalWatchlist/ecosystem target, not a maintained example.

Other MCP-compatible hosts may work as well, but the examples in this repository focus on Codex and Claude-style local MCP configuration.

Features

ToolPurposeAuth requiredSide effects
oe_auth_statusChecks whether the saved OpenEvidence browser session is authenticated.Yes, local browser profile must be logged in.None.
oe_history_listLists prior OpenEvidence articles with optional pagination and search. Returns a privacy-reduced list unless include_raw=true is explicitly requested.Yes.None.
oe_article_getFetches an article by ID and returns normalized fields (status, is_complete, question, answer_text). Raw payload is opt-in with include_raw=true.Yes.None.
oe_article_waitWaits for an existing article ID to complete; useful after non-blocking oe_ask.Yes.None.
oe_askCreates an OpenEvidence research question and optionally waits for the article to complete.Yes.Creates a question/article in your OpenEvidence account.

Agent Tool-Calling Notes

The MCP server includes built-in instructions and a prompt named openevidence_research_workflow for clients that expose MCP prompts.

Recommended agent workflow:

  1. Call oe_auth_status when auth state is unknown.
  2. Use oe_history_list only when the user wants prior OpenEvidence work or an article ID.
  3. Use oe_article_get when you already have an article ID.
  4. For long research questions, call oe_ask with wait_for_completion=false, then call oe_article_wait with the returned article_id.
  5. Use original_article_id only for true follow-up continuity. Omit it for fresh questions to avoid stale thread context.
  6. Treat outputs as evidence-research context, not medical advice, diagnosis, or clinical orders.

Related commands:

CommandPurpose
npm run login:sessionRecommended one-time login. Opens Chrome/Edge with the local OpenEvidence MCP profile.
npm run loginLegacy/development Playwright login flow that also uses the local profile.
npm run login:browserLegacy system-browser login/export flow for debugging Google SSO issues.
npm run smokeVerifies auth and basic OpenEvidence connectivity.

Requirements

  • Node.js 20+
  • npm 10+
  • OpenEvidence account
  • macOS, Windows, or Linux
  • Chromium installed by Playwright (npx playwright install chromium)

Availability Note

OpenEvidence availability may depend on region, account eligibility, and OpenEvidence policy. Public materials in May 2026 indicate verified U.S. HCP/NPI-centered access and EU/U.K. unavailability; this project does not bypass those restrictions.

Useful references:

Quick Start

macOS

bash
git clone https://github.com/bakhtiersizhaev/openevidence-mcp.git
cd openevidence-mcp
./scripts/setup-macos.sh
npm run login:session
npm run smoke

Ubuntu/Linux

bash
git clone https://github.com/bakhtiersizhaev/openevidence-mcp.git
cd openevidence-mcp
./scripts/setup-ubuntu.sh
npm run login:session
npm run smoke

Windows PowerShell

powershell
git clone https://github.com/bakhtiersizhaev/openevidence-mcp.git
cd openevidence-mcp
.\scripts\setup-windows.ps1
npm run login:session
npm run smoke

Login Flow

Recommended one-time login:

bash
npm run login:session

The command opens Chrome or Edge with a local OpenEvidence MCP browser profile. Sign in to OpenEvidence with your own account, confirm the normal OpenEvidence page loads, close that browser window, return to the terminal, and press Enter.

Default local profile path:

  • macOS/Linux: ~/.openevidence-mcp/browser-profile
  • Windows: %USERPROFILE%\.openevidence-mcp\browser-profile

The MCP server reuses this same local profile during its process lifetime. It may start a minimized local browser process for OpenEvidence calls, but it does not install an extension, expose a public network service, export cookies, or ask for your password.

Legacy/development flow:

bash
npm run login

If Google sign-in says the browser or app may not be secure during the legacy flow, use the session login instead:

bash
npm run login:session

Do not share browser profile files, storage-state files, cookies, screenshots with private account data, or patient-identifiable information.

MCP Client Setup

Build before registering the server:

bash
npm run build

Automatic Setup (Recommended)

You can automatically register the OpenEvidence MCP server with your favorite client using the built-in installer:

  • Claude Desktop (claude-app):
    bash
    npx openevidence-mcp install --client claude-app
    # or via npm shortcut:
    npm run install:claude-app
  • Codex Desktop (codex-app):
    bash
    npx openevidence-mcp install --client codex-app
    # or via npm shortcut:
    npm run install:codex-app
  • Claude Code (claude-code):
    bash
    npx openevidence-mcp install --client claude-code
    # or via npm shortcut:
    npm run install:claude-code
  • Codex CLI (codex-cli):
    bash
    npx openevidence-mcp install --client codex-cli
    # or via npm shortcut:
    npm run install:codex-cli
  • Google Antigravity (antigravity):
    bash
    npx openevidence-mcp install --client antigravity
    # or via npm shortcut:
    npm run install:antigravity
  • Cursor (cursor):
    bash
    npx openevidence-mcp install --client cursor
    # or via npm shortcut:
    npm run install:cursor
  • Windsurf (windsurf):
    bash
    npx openevidence-mcp install --client windsurf
    # or via npm shortcut:
    npm run install:windsurf

To uninstall, you can run:

bash
npx openevidence-mcp uninstall --client <client-id>

Manual Setup

Codex

Add this to ~/.codex/config.toml:

toml
[mcp_servers.openevidence]
command = "node"
args = ["/ABSOLUTE/PATH/openevidence-mcp/dist/server.js"]
startup_timeout_sec = 60

Windows example:

toml
[mcp_servers.openevidence]
command = "node"
args = ["C:\\Users\\<user>\\openevidence-mcp\\dist\\server.js"]
startup_timeout_sec = 60

Claude Desktop

Add this to claude_desktop_config.json:

json
{
  "mcpServers": {
    "openevidence": {
      "command": "node",
      "args": ["/ABSOLUTE/PATH/openevidence-mcp/dist/server.js"]
    }
  }
}

Cursor, Cline, Continue

Use the same stdio server shape if your client supports MCP server command/args configuration:

json
{
  "command": "node",
  "args": ["/ABSOLUTE/PATH/openevidence-mcp/dist/server.js"]
}

Example configs are in examples/.

Verify

bash
npm run smoke

Expected result with a valid session:

  • ok: true
  • authenticated: true
  • a redacted history preview

If smoke fails with an auth error, run npm run login:session again. Smoke requires a real OpenEvidence account session and will not pass in a clean CI environment unless a local session profile is available.

By default, smoke output redacts account and history content. Use npm run smoke -- --verbose only in a private terminal if raw account/history payloads are needed for debugging.

Developer checks:

bash
npm test
npm run build
npm run check

Security Notes

  • Treat browser profiles, storage-state.json, and cookies as secrets.
  • Do not commit .env, session state, screenshots with account data, or patient-identifiable information.
  • Use only your own OpenEvidence account.
  • Keep MCP client configs pointed at the built local server path you control.
  • Review tool calls from autonomous agents before using outputs in clinical or operational workflows.
  • See SECURITY.md for vulnerability reporting and supported scope.

Troubleshooting

See docs/TROUBLESHOOTING.md for detailed recovery steps.

Common fixes:

  • authenticated: false: rerun npm run login:session.
  • Google says browser is not secure in the legacy login flow: run npm run login:session.
  • Browser install errors: run npx playwright install chromium.
  • MCP client cannot start server: confirm npm run build succeeded and use an absolute path to dist/server.js.
  • Windows path issues: escape backslashes in JSON/TOML or use full absolute paths.
  • Node errors: confirm node --version is 20 or newer.
  • OpenEvidence UI/API changed: open an issue with sanitized logs and no private account or patient data.
  • oe_ask cannot find the question input or submit button: OpenEvidence UI may have changed; open an issue with sanitized logs and no private account or patient data.

Roadmap

  • Keep tool descriptions compact and agent-friendly.
  • Add focused tests around config and response parsing.
  • Improve smoke diagnostics without exposing session details.
  • Track MCP client setup examples as client configuration formats evolve.

License & Attribution

Apache-2.0 (LICENSE) + NOTICE.

If you redistribute, fork, or build derivative versions, keep attribution to:

  • Original author: Bakhtier Sizhaev
  • Original repository: https://github.com/bakhtiersizhaev/openevidence-mcp

Suggested attribution line:

text
Based on OpenEvidence MCP by Bakhtier Sizhaev - https://github.com/bakhtiersizhaev/openevidence-mcp

Star History

Installazione

TypingMind
{
  "mcpServers": {
    "openevidence-mcp": {
      "command": "node",
      "args": [
        "/ABSOLUTE/PATH/openevidence-mcp/dist/server.js"
      ]
    }
  }
}

Usa MCP OpenEvidence MCP (Unofficial) con più modelli IA

TypingMind collega gli strumenti MCP a livello di area di lavoro: una volta connesso OpenEvidence MCP (Unofficial), puoi usarlo con diversi modelli IA in TypingMind, senza configurarlo separatamente per ogni modello. Questa integrazione MCP viene eseguita localmente sul tuo dispositivo tramite il connettore MCP di TypingMind.

Guida alla configurazione del connettore locale

Usa questo metodo quando il server MCP deve accedere a file locali, app o risorse private sul tuo computer.

1

Apri le impostazioni MCP

In TypingMind, vai su Impostazioni, Impostazioni avanzate, poi su Model Context Protocol e scegli Configura MCP.

  1. Apri TypingMind nel tuo browser.
  2. Fai clic sull'icona Impostazioni.
  3. Vai a Impostazioni avanzate.
  4. Apri la sezione Model Context Protocol.
  5. Fai clic su Configura MCP e scegli Questo dispositivo.
Schermata di configurazione del connettore MCP di TypingMind con Questo dispositivo selezionato
2

Esegui il comando del connettore

Scegli Questo dispositivo, copia il comando da TypingMind ed eseguilo nel terminale. Lascia il processo in esecuzione mentre usi MCP.

  1. Copia il comando di configurazione mostrato da TypingMind.
  2. Apri Terminale su macOS o Windows Terminal su Windows.
  3. Incolla ed esegui il comando.
  4. Conferma l'installazione del pacchetto se il terminale ti chiede di procedere.
  5. Tieni aperta la finestra del terminale con il processo in esecuzione mentre usi gli strumenti MCP.
3

Aggiungi OpenEvidence MCP (Unofficial) come server

Quando lo stato del connettore è Pronto, fai clic su Modifica server e incolla la configurazione del server MCP.

  1. Attendi che lo stato del connettore sia Pronto.
  2. Fai clic su Modifica server.
  3. Incolla la configurazione del server MCP di OpenEvidence MCP (Unofficial).
  4. Salva l'elenco dei server.
  5. Aggiorna per verificare che il connettore sia ancora pronto.
Impostazioni MCP di TypingMind con un server attivo e il pulsante Modifica server
{
  "mcpServers": {
    "openevidence-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "openevidence-mcp"
      ]
    }
  }
}
4

Usa la connessione con diversi modelli

Salva l'elenco dei server, apri Plugin, abilita gli strumenti MCP di OpenEvidence MCP (Unofficial), poi seleziona un modello IA supportato in TypingMind e usa gli strumenti in chat o assegnali a un agente IA.

  1. Apri la pagina Plugin in TypingMind.
  2. Abilita gli strumenti MCP di OpenEvidence MCP (Unofficial).
  3. Avvia una chat e scegli il modello IA che vuoi usare.
  4. Usa gli strumenti MCP in chat o assegnali a un agente IA.
  5. Passa a un altro modello IA quando serve, senza riconnettere MCP.
Chat di TypingMind che usa gli strumenti MCP abilitati con un modello IA selezionato
Puoi usare OpenEvidence MCP (Unofficial) per aiutarmi con questa attività?
OpenEvidence MCP (Unofficial)
Certo. Ho letto.
Ecco cosa ho trovato con OpenEvidence MCP (Unofficial).

Domande frequenti

A cosa serve il server MCP OpenEvidence MCP (Unofficial)?

OpenEvidence MCP (Unofficial) è un server MCP che consente ai client IA compatibili di accedere a strumenti e informazioni di contesto esterni. In TypingMind puoi aggiungere questo server MCP una sola volta e rendere disponibili i suoi strumenti nella tua area di lavoro IA.

Posso usare OpenEvidence MCP (Unofficial) MCP con più modelli IA in TypingMind?

Sì. TypingMind collega gli strumenti MCP a livello di area di lavoro, quindi puoi usare OpenEvidence MCP (Unofficial) con diversi modelli IA come Claude, ChatGPT, Gemini o altri modelli che hai configurato in TypingMind, senza dover configurare il server MCP separatamente per ogni modello.

Perché usare il connettore MCP OpenEvidence MCP (Unofficial) con TypingMind?

TypingMind è una delle migliori interfacce per chattare con gli LLM perché riunisce più modelli IA, prompt, plugin, agenti IA, chiavi API e strumenti MCP in un'unica area di lavoro. Collegando OpenEvidence MCP (Unofficial), puoi usare i suoi strumenti MCP con i tuoi modelli preferiti e mantenere organizzato il tuo flusso di lavoro in chat su TypingMind.

Come collego OpenEvidence MCP (Unofficial) MCP a TypingMind?

OpenEvidence MCP (Unofficial) funziona tramite il connettore MCP locale di TypingMind. È la soluzione ideale quando il server MCP deve accedere a file locali, app desktop, strumenti da riga di comando o risorse private sul tuo computer.

Quali strumenti offre OpenEvidence MCP (Unofficial) MCP in TypingMind?

OpenEvidence MCP (Unofficial) mette a disposizione funzionalità MCP che puoi attivare dalla pagina Plugin di TypingMind e usare in chat o assegnare agli agenti IA.

Devo condividere le mie chiavi API con TypingMind per usare OpenEvidence MCP (Unofficial) MCP?

No. TypingMind privilegia il funzionamento in locale e ti permette di mantenere il controllo su fornitori di modelli, chiavi API, prompt e configurazione MCP. Se OpenEvidence MCP (Unofficial) richiede l'autenticazione, aggiungi le intestazioni, le impostazioni OAuth o la configurazione locale necessarie per quel server MCP quando crei la connessione.

Server MCP correlati

Vedi tutti

Crea subito la tua area di lavoro IA

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇