Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
OE_MCP_BASE_URLNoOpenEvidence base URLhttps://www.openevidence.com
OE_MCP_ROOT_DIRNoRoot for default auth paths~/.openevidence-mcp
OE_MCP_ARTIFACT_DIRNoArtifact output directoryOS temp dir + openevidence-mcp
OE_MCP_COOKIES_PATHNoCookie file./cookies.json if present, else ~/.openevidence-mcp/auth/cookies.json
OE_MCP_AUTH_STATE_PATHNoLegacy alias for OE_MCP_COOKIES_PATH
OE_MCP_CROSSREF_MAILTONoOptional Crossref polite-pool email
OE_MCP_POLL_TIMEOUT_MSNoDefault poll timeout180000
OE_MCP_POLL_INTERVAL_MSNoPoll interval for oe_ask1200
OE_MCP_CROSSREF_VALIDATENoSet 0 to skip Crossref validation1

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
oe_healthA

Millisecond-fast local check of the relay pipeline (daemon + browser extension) — no OpenEvidence network call. Use this to confirm the pipeline is up before oe_ask; use oe_auth_status only when you need to verify the login session itself.

oe_auth_statusA

Check if the local OpenEvidence session is valid (full network round-trip). For a fast pipeline-connectivity check use oe_health instead.

oe_history_listC

List question history from OpenEvidence account.

oe_article_getA

Fetch an article (answer) by id or /ask/ URL — the fetch-later half of fire-and-forget oe_ask. Returns the current status; if it is still 'pending' either retry later or pass wait_for_completion:true to block until the answer is ready. Completed answers are served from the local SQLite store when available (from_cache:true, zero network) — pass refresh:true to force a re-fetch from OpenEvidence.

oe_answers_searchA

Full-text search (SQLite FTS5) over every answer previously fetched by oe_ask/oe_article_get — questions, titles, and answer bodies. Millisecond-fast and fully offline: no OpenEvidence traffic, no rate-limit cost. Covers only answers this MCP has fetched and stored locally; for your complete server-side history use oe_history_list. Snippets mark matches with »…«.

oe_askA

Create a question. Fire-and-forget by default: returns {article_id, status:'pending'} immediately so the browser tab is free for other sessions — fetch the finished answer later with oe_article_get (optionally wait_for_completion:true). Pass wait_for_completion:true here to block and return the answer in one call. For a follow-up question pass original_article_id. Submits POST /api/article through the connected browser-extension relay (runs in your real logged-in tab, DataDome-free); the direct Node POST is deprecated and no longer attempted. Requires the relay extension to be connected (see extension/README.md).

oe_public_getA

Read an OpenEvidence conversation from an /ask/ link and parse the page into Q&A turns (question, answer as markdown, references). Public (shared) conversations need no setup at all; your own private ones work when the relay extension is connected (your logged-in tab) or cookies.json exists. Use oe_article_get when you want the raw API payload + saved artifacts instead.

oe_article_set_accessA

Set a conversation's share visibility (PATCH /api/article//access). public:true makes it link-shareable (ANYONE_WITH_LINK — anyone with the URL can read it, no login); public:false makes it private again (CREATOR_ONLY). Returns the shareable /ask/ URL. You must own the conversation, and the relay extension must be connected (only the owning browser session may change access). ⚠️ Publishing exposes the conversation to anyone on the internet with the link — do not publish anything containing PHI or medically sensitive patient information.

oe_collections_listA

List all collections owned by the authenticated user.

oe_collections_getA

Fetch a collection (incl. nested questions[] = membership list) by id.

oe_collections_createB

Create a new collection. By convention, agent-managed names start with '#'.

oe_collections_add_articleC

Add a chat (article) to a collection. Idempotent in practice.

oe_collections_db_initA

Create the local SQLite mirror at $OE_MCP_DB_PATH (default ~/.openevidence-mcp/db/oe.sqlite). Idempotent.

oe_collections_sync_historyA

Paginate /api/article/list and upsert chats. Incremental by default (stops on the first all-known page).

oe_collections_sync_dbB

Refresh collections and memberships from the API into local SQLite. Prunes collections + memberships the server no longer reports.

oe_collections_unsortedA

Chats with no membership in any '#'-prefixed collection. Returns {unsorted_count, shown, items[]}.

oe_collections_summaryB

Counts (chats, collections, hashtag, memberships, unsorted) + last sync timestamps.

oe_collections_classify

Predict hashtags for every unsorted chat (or all chats with reclassify_all). Combines curated keyword rules with a per-tag log-odds-ratio signature trained from your existing memberships. Returns the proposed plan as JSON; use oe_collections_bulk_apply to actually write.

oe_collections_bulk_apply

For each {article_id, hashtags[]} entry: ensure each '#'-prefixed collection exists, then add the article to it. Idempotent. Refuses non-'#' tags.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/htlin222/openevidence-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server