loading…
Search for a command to run...
loading…
Connects OpenEvidence to MCP clients for authenticated research queries using your browser session.
Connects OpenEvidence to MCP clients for authenticated research queries using your browser session.
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 | 简体中文 | 繁體中文(台灣) | 한국어 | हिन्दी
Using Codex, Claude Code, or another local AI coding agent? Copy this prompt into the agent and let it handle setup, MCP config, login guidance, and verification.
Look into this repository: https://github.com/bakhtiersizhaev/openevidence-mcp
Install OpenEvidence MCP in my local AI CLI / agentic MCP setup. Add it as an MCP server for the CLI or app I am using. Follow the repository README and the agent install playbook at docs/AGENT_INSTALL_PROMPT.md.
Verify local prerequisites: Node.js 20+, npm, git, and Playwright Chromium. Clone or update the repo, run npm ci, npx playwright install chromium, npm run build, and npm run check.
Configure the MCP server with command "node" and args pointing to the absolute path of dist/server.js. Keep the server local and do not expose it over a public network.
Guide me through OpenEvidence login with my own account. First try npm run login. If Google says "This browser or app may not be secure", stop that flow and run npm run login:browser instead. I will complete login in the opened browser window and then press Enter in the terminal.
Do not ask for or expose my password, cookies, tokens, storage-state files, screenshots with private account data, patient-identifiable information, or account identifiers. Do not bypass OpenEvidence, Google, institutional, regional, or account access controls.
After login, run npm run smoke. If smoke returns ok: true and authenticated: true, show me the final MCP config and tell me to restart my AI agent / MCP client so the OpenEvidence tools become available.
Longer agent runbook: docs/AGENT_INSTALL_PROMPT.md.
OpenEvidence MCP runs a local stdio MCP server that lets MCP clients use your existing OpenEvidence browser session for:
No official OpenEvidence API token is required.
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.
| Client | Status | Notes |
|---|---|---|
| OpenAI Codex / Codex CLI / Codex app | Target | Recommended local MCP workflow. |
| Claude Code | Target | Recommended agent workflow. |
| Claude Desktop / Claude app with MCP support | Target | Local MCP server configuration. |
| Cursor | Compatible | MCP-compatible IDE workflow. |
| Cline | Compatible | VS Code agent workflow. |
| Continue | Compatible | Open-source IDE assistant workflow. |
| VS Code / GitHub Copilot environments with MCP support | Experimental | Depends on local MCP support and client configuration. |
| Windsurf / Zed / Replit / Sourcegraph-style MCP hosts | Experimental | Not guaranteed unless tested. |
| Gemini CLI / Google Antigravity-style agent environments | Experimental | Watchlist/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.
| Tool | Purpose | Auth required | Side effects |
|---|---|---|---|
oe_auth_status |
Checks whether the saved OpenEvidence browser session is authenticated. | Yes, saved session file must exist. | None. |
oe_history_list |
Lists prior OpenEvidence articles/questions with optional pagination and search. | Yes. | None. |
oe_article_get |
Fetches an article by ID and returns normalized fields (status, is_complete, question, answer_text) plus the raw payload. |
Yes. | None. |
oe_article_wait |
Waits for an existing article ID to complete; useful after non-blocking oe_ask. |
Yes. | None. |
oe_ask |
Creates an OpenEvidence research question and optionally waits for the article to complete. | Yes. | Creates a question/article in your OpenEvidence account. |
The MCP server includes built-in instructions and a prompt named openevidence_research_workflow for clients that expose MCP prompts.
Recommended agent workflow:
oe_auth_status when auth state is unknown.oe_history_list only when the user wants prior OpenEvidence work or an article ID.oe_article_get when you already have an article ID.oe_ask with wait_for_completion=false, then call oe_article_wait with the returned article_id.original_article_id only for true follow-up continuity. Omit it for fresh questions to avoid stale thread context.Related commands:
| Command | Purpose |
|---|---|
npm run login |
Opens a local browser so you can sign in and save reusable session state. |
npm run login:browser |
Opens system Chrome/Edge for Google SSO cases where Playwright login is blocked as unsafe. |
npm run smoke |
Verifies auth and basic OpenEvidence connectivity. |
npx playwright install chromium)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:
git clone https://github.com/bakhtiersizhaev/openevidence-mcp.git
cd openevidence-mcp
./scripts/setup-macos.sh
npm run login
npm run smoke
git clone https://github.com/bakhtiersizhaev/openevidence-mcp.git
cd openevidence-mcp
./scripts/setup-ubuntu.sh
npm run login
npm run smoke
git clone https://github.com/bakhtiersizhaev/openevidence-mcp.git
cd openevidence-mcp
.\scripts\setup-windows.ps1
npm run login
npm run smoke
Run:
npm run login
The command opens a browser window. Sign in to OpenEvidence with your own account, return to the terminal, and press Enter. The login script validates /api/auth/me and saves local browser session state.
Default state paths:
~/.openevidence-mcp/auth/storage-state.json%USERPROFILE%\.openevidence-mcp\auth\storage-state.jsonYou can import an existing Playwright storage state file:
npm run login -- --import /absolute/path/storage-state.json
If Google sign-in says the browser or app may not be secure, use the system-browser login flow:
npm run login:browser
This opens Chrome or Edge with a local OpenEvidence MCP profile. Complete login in that browser, return to the terminal, and press Enter. The script saves local session state and verifies /api/auth/me.
Do not share storage-state files, cookies, screenshots with private account data, or patient-identifiable information.
Build before registering the server:
npm run build
Add this to ~/.codex/config.toml:
[mcp_servers.openevidence]
command = "node"
args = ["/ABSOLUTE/PATH/openevidence-mcp/dist/server.js"]
startup_timeout_sec = 60
Windows example:
[mcp_servers.openevidence]
command = "node"
args = ["C:\\Users\\<user>\\openevidence-mcp\\dist\\server.js"]
startup_timeout_sec = 60
Add this to claude_desktop_config.json:
{
"mcpServers": {
"openevidence": {
"command": "node",
"args": ["/ABSOLUTE/PATH/openevidence-mcp/dist/server.js"]
}
}
}
Use the same stdio server shape if your client supports MCP server command/args configuration:
{
"command": "node",
"args": ["/ABSOLUTE/PATH/openevidence-mcp/dist/server.js"]
}
Example configs are in examples/.
npm run smoke
Expected result with a valid session:
ok: trueauthenticated: trueIf smoke fails with an auth error, run npm run login again. Smoke requires a real OpenEvidence account session and will not pass in a clean CI environment unless session state is provided securely.
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:
npm test
npm run build
npm run check
storage-state.json, cookies, and browser profiles as secrets..env, session state, screenshots with account data, or patient-identifiable information.SECURITY.md for vulnerability reporting and supported scope.See docs/TROUBLESHOOTING.md for detailed recovery steps.
Common fixes:
authenticated: false: rerun npm run login.npm run login:browser.npx playwright install chromium.npm run build succeeded and use an absolute path to dist/server.js.node --version is 20 or newer.Apache-2.0 (LICENSE) + NOTICE.
If you redistribute, fork, or build derivative versions, keep attribution to:
https://github.com/bakhtiersizhaev/openevidence-mcpSuggested attribution line:
Based on OpenEvidence MCP by Bakhtier Sizhaev - https://github.com/bakhtiersizhaev/openevidence-mcp
Выполни в терминале:
claude mcp add openevidence-mcp -- npx Browser automation, scraping, screenshots
автор: MicrosoftBrowser automation and web scraping.
автор: modelcontextprotocolPlugin-based MCP server + Chrome extension that gives AI agents access to web applications through the user's authenticated browser session. 100+ plugins with a
автор: opentabs-dev1,500+ developer infrastructure deals, free tiers, and startup programs across 54 categories. Search deals, compare vendors, plan stacks, and track pricing chan
автор: robhunterНе уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории browse