Openevidence MCP
Unofficial OpenEvidence MCP server with cookies.json auth, Claude/Codex/Gemini install helpers, BibTeX citation export, and Crossref validation.
Ask AI about Openevidence MCP
Powered by Claude · Grounded in docs
I know everything about Openevidence MCP. Ask me about installation, configuration, usage, or troubleshooting.
0/500
Reviews
Documentation
OpenEvidence MCP (Unofficial)
Open-source MCP server that connects OpenEvidence to Codex, Claude, Cursor, Cline, Continue, and other MCP clients.
Live Docs • AI Install Playbook • Semantic Core
What Is OpenEvidence MCP
OpenEvidence MCP is an unofficial Model Context Protocol server that uses your own OpenEvidence browser session. No official OpenEvidence API token is required.
This is usually used by:
- physicians
- clinical teams
- medical researchers
- AI operators building evidence-based medical workflows
Feature Surface
| Tool | Purpose |
|---|---|
oe_auth_status | Check auth via /api/auth/me |
oe_history_list | Read history via /api/article/list |
oe_article_get | Fetch full article payload by id |
oe_ask | Ask a question and optionally wait for completion |
npm run login | Run local login flow and save reusable session state |
Platform Support
- macOS
- Windows
- Ubuntu/Linux
Requirements
- Node.js 20+
- npm 10+
- OpenEvidence account
Quick Start
macOS
cd /path/to/openevidence-mcp
./scripts/setup-macos.sh
npm run login
npm run smoke
Ubuntu/Linux
cd /path/to/openevidence-mcp
./scripts/setup-ubuntu.sh
npm run login
npm run smoke
Windows (PowerShell)
cd C:\path\to\openevidence-mcp
.\scripts\setup-windows.ps1
npm run login
npm run smoke
Login Flow
Run:
npm run login
Browser opens, user signs in, then presses Enter in terminal.
The tool validates /api/auth/me and saves local state.
Import existing state:
npm run login -- --import /absolute/path/storage-state.json
Default state path:
- macOS/Linux:
~/.openevidence-mcp/auth/storage-state.json - Windows:
%USERPROFILE%\\.openevidence-mcp\\auth\\storage-state.json
MCP Setup
Codex (~/.codex/config.toml)
[mcp_servers.openevidence]
command = "node"
args = ["/ABSOLUTE/PATH/openevidence-mcp/dist/server.js"]
startup_timeout_sec = 60
Claude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"openevidence": {
"command": "node",
"args": ["/ABSOLUTE/PATH/openevidence-mcp/dist/server.js"]
}
}
}
Templates:
examples/codex-config.tomlexamples/codex-config-full.tomlexamples/claude-desktop-config.jsonexamples/claude-desktop-config-full.json
Verify
npm run smoke
Expected:
ok: trueauthenticated: true- history results returned
Session Notes
- Cookie/session lifetime can vary.
- If auth fails, run
npm run loginagain.
AI-Agent Install Guide
Use README.AI.md when setup is performed by Codex, Claude Code, or another AI agent.
SEO / GEO / AI Parser Files
docs/index.htmldocs/i18n/ru/index.htmldocs/i18n/es/index.htmldocs/i18n/zh/index.htmldocs/i18n/hi/index.htmldocs/SEMANTIC_CORE.mddocs/robots.txtdocs/sitemap.xmldocs/llms.txtdocs/llms-full.txt
Environment Variables
Copy .env.example to .env if custom paths are needed.
OE_MCP_BASE_URLOE_MCP_ROOT_DIROE_MCP_AUTH_STATE_PATHOE_MCP_USER_DATA_DIROE_MCP_POLL_INTERVAL_MSOE_MCP_POLL_TIMEOUT_MS
License
Apache-2.0 (LICENSE) + NOTICE.
Attribution Requirement
This repository uses Apache-2.0 with a NOTICE file.
If you redistribute, fork, or build derivative versions, keep attribution to:
- Original author: Bakhtier Sizhaev
- Original repository:
https://github.com/bakhtiersizhaev/openevidence-mcp
In practice:
- do not remove
LICENSE - do not remove
NOTICE
Suggested attribution line:
Based on OpenEvidence MCP by Bakhtier Sizhaev — https://github.com/bakhtiersizhaev/openevidence-mcp
