Papers by Ouroboros
MCP serverSearchScholarly paper search with real citations for AI assistants, over MCP.
Available today. Use it from your connected AI after setup.
No other account needed.
Add ahel to your AI once: Claude, ChatGPT, Cursor, Claude Code or Codex. Then ask it to use this.
Then ask your AI: use Papers by Ouroboros to search papers
Install Papers by Ouroboros
The server’s own address, for the clients that take one directly. Or connect ahel once and every client you use reads it from one address, with the account kept on ahel rather than in each client’s config.
Claude Code
claude mcp add --transport http --scope user papers-by-ouroboros 'https://papers-mcp.vercel.app/mcp'Run it once in your project, then open /mcp to approve any sign-in the server asks for.
Claude Desktop
https://papers-mcp.vercel.app/mcpAdd a custom connector in Settings, paste this address, and approve the sign-in.
Cursor
cursor://anysphere.cursor-deeplink/mcp/install?name=papers-by-ouroboros&config=eyJ1cmwiOiJodHRwczovL3BhcGVycy1tY3AudmVyY2VsLmFwcC9tY3AifQ==Open the link and Cursor adds the server at that address.
ChatGPT
https://papers-mcp.vercel.app/mcpIn Settings, enable Developer mode, create an MCP app, and paste this address. Your plan and workspace must allow custom apps.
Codex
codex mcp add papers-by-ouroboros --url 'https://papers-mcp.vercel.app/mcp'Run it once, then sign in with codex mcp login papers-by-ouroboros if the server asks for an account.
From the project's README
As published by lahutchins91/papers-mcp in README.md.
Papers is a remote MCP server for students, researchers, writers, and clinicians who want an assistant to search and cite real papers. It is a lighter, independent alternative to Consensus, SciSpace, and Elicit.
The assistant can search OpenAlex, Semantic Scholar, PubMed, Crossref, and arXiv, open a paper by DOI, PMID, or arXiv id, see what cites a paper or what that paper cites, and format APA, MLA, Chicago, or BibTeX. Every result includes a source link and an identifier that came back from one of those APIs. If an API returns nothing, Papers returns nothing. It does not fill gaps with invented citations.
- MCP endpoint:
https://<your-host>/mcp - Works with ChatGPT, Claude, Gemini, Grok, Cursor, and any client that speaks Streamable HTTP plus OAuth 2.1 (dynamic client registration and PKCE)
server.json is the MCP Registry manifest (io.github.LAHutchins91/papers). Its remotes[0].url is a placeholder (https://papers-mcp.vercel.app/mcp). Change it to the origin you actually deploy, and set APP_BASE_URL to that same origin.
Connect
Leave the client id and secret empty so the client can register itself.
Cursor, in ~/.cursor/mcp.json or a project .cursor/mcp.json:
{
"mcpServers": {
"papers": {
"url": "https://<your-host>/mcp"
}
}
}
Claude Code:
claude mcp add --transport http papers https://<your-host>/mcp
Other clients: add the same URL and choose OAuth. The consent screen names the assistant and the papers scope. Tool discovery (initialize, tools/list, ping) does not require a token. Calling a tool does.
Tools
search_papers— question or keywords, with optional year range, field, open-access flag, and source (openalex,semantic_scholar,pubmed,crossref,arxiv, orall)get_paper— one record and its abstract, by DOI, PMID, arXiv id, or OpenAlex work idfind_related_papers—cited_byorreferencesfor that identifierformat_citation—apa,mla,chicago, orbibtexfrom the fetched metadata
Titles are kept as the source wrote them. Author names are split from display names, so particles such as “van” can land in the wrong part and deserve a look before you publish the citation.
Trial and billing
Start a 14-day trial from the account page after you connect an assistant. Stripe Checkout is the only place an amount is shown. Monthly and yearly plans use the price ids you configure. Papers does not create Stripe products.
When STRIPE_SECRET_KEY, STRIPE_PRICE_MONTHLY, and STRIPE_PRICE_YEARLY are all set, tool calls require a Stripe subscription in trialing or active status. When they are not set, GET /health reports billingConfigured: false and an OAuth-signed caller can use the tools. Set the Stripe variables before you expose a deployment publicly.
Storage
Paper search is stateless. Subscription snapshots and used authorization-code ids share one store:
STORAGE_BACKEND | Behavior |
|---|---|
memory (default) | Process-local. Fine for tests and a single Node process. A second process can still accept a code this process already used. |
file | One JSON document at STORAGE_PATH (default data/accounts.json). For a single Docker host. |
blob | One private Vercel Blob at STORAGE_BLOB_PATH (default papers/accounts.json). Use this on Vercel so a code cannot be replayed across instances. Requires BLOB_READ_WRITE_TOKEN. |
The document is { accounts, usedCodes }. Each account is { userId, stripeCustomerId, subscriptionId, subscriptionStatus, currentPeriodEnd, plan, updatedAt }. usedCodes maps an authorization-code id to its expiry, in unix seconds. Expired ids are dropped on every write. An older file that is only a map of accounts is still read. There is no separate database schema. When billing is configured, Stripe is the source of truth: a cold process looks the customer up by metadata.papers_user_id if the snapshot is missing.
OAuth access tokens and client registrations are signed tokens, not rows. Set AUTH_SIGNING_SECRET in production so tokens survive a restart. On Vercel, set STORAGE_BACKEND=blob before the deployment is public.
Environment
| Variable | Required | Purpose |
|---|---|---|
APP_BASE_URL | Production | Public origin, no trailing slash. OAuth issuer and MCP audience. |
AUTH_SIGNING_SECRET | Production | HMAC secret for OAuth tokens and the account cookie. |
SCHOLARLY_CONTACT_EMAIL | Production | Mailto address in User-Agent and polite-pool parameters for OpenAlex, Crossref, and PubMed. |
SUPPORT_EMAIL | No | Shown on the support page. Falls back to the scholarly contact address. |
NCBI_API_KEY | No | Higher PubMed rate limit. |
SEMANTIC_SCHOLAR_API_KEY | No | Higher Semantic Scholar rate limit. Sent as x-api-key. |
STRIPE_SECRET_KEY | To charge | Stripe secret key. |
STRIPE_PRICE_MONTHLY | To charge | Existing monthly price id. |
STRIPE_PRICE_YEARLY | To charge | Existing yearly price id. |
STRIPE_WEBHOOK_SECRET | To charge | Webhook signature secret. Point Stripe at POST /billing/webhook. |
STORAGE_BACKEND | No | memory, file, or blob. |
STORAGE_PATH | No | JSON file used when the backend is file. |
STORAGE_BLOB_PATH | No | Blob pathname when the backend is blob. Defaults to papers/accounts.json. |
BLOB_READ_WRITE_TOKEN | With blob | Read-write token for the Vercel Blob store. The SDK reads this itself. |
PORT | No | Defaults to 43127. |
Do not commit secrets. Copy what you need into the host’s environment, not into the repo.
Run locally
npm install
npm run dev
Open http://127.0.0.1:43127. Health is GET /health.
npm test
npm run typecheck
Tests call the public APIs that do not need keys. Stripe is not called. Semantic Scholar often answers 429 from shared IP space; the tool reports that rate limit and does not substitute a made-up paper.
Deploy
Vercel: vercel.json builds api/index.ts and routes every path to that function, including logo.jpg in the function bundle. Repository files such as /package.json and /src/* are not served as static files. Set the environment variables above, set APP_BASE_URL to the deployment origin, set STORAGE_BACKEND=blob, and update server.json remotes[0].url to https://<that-host>/mcp. Create the Blob store in the Vercel project and leave its read-write token in BLOB_READ_WRITE_TOKEN. Stripe’s webhook endpoint is POST /billing/webhook.
Docker:
docker build -t papers-mcp .
docker run --rm -p 43127:43127 -e APP_BASE_URL=http://127.0.0.1:43127 -e AUTH_SIGNING_SECRET=replace-me -e SCHOLARLY_CONTACT_EMAIL=you@example.com papers-mcp
The container listens on 43127.
Rate limits
Requests are spaced per host: OpenAlex about 10/s, Crossref about 4/s, PubMed about 3/s without an NCBI key, Semantic Scholar about 1/s without a key, and arXiv at least 3 seconds between calls. A descriptive User-Agent is always sent. The contact email is included only when SCHOLARLY_CONTACT_EMAIL is set.
License
MIT. Copyright Lawrence Hutchins. See LICENSE.
Tools it offers (4)
What this server listed when ahel dialed its public endpoint in Oct 2026, with no key and no account of yours. The names are the server’s own.
search_papersget_paperfind_related_papersformat_citation
Signals
- Last commit
- Oct 2026
Advanced
- Delivery
- papers MCP server → your ahel connector (mcp.ahel.ai) → your AI.
- Item type
- mcp-server
- Key
io-github-lahutchins91-papers- Source
- github.com/lahutchins91/papers-mcp
- Hosted endpoint
https://papers-mcp.vercel.app/mcp
github.com/lahutchins91/papers-mcp