Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Use Papers AI from your AI assistant

Verify citations, format references and start or open papers from Claude, Claude Code, Codex or Cursor.

Papers AI works inside the assistants you already use. From Claude, Claude Code, Codex or Cursor you can:

  • Verify citations against Crossref, so a made-up or mistyped reference is caught before it reaches your paper.

  • Format references in a citation style (APA, Vancouver, IEEE and more).

  • Start a paper in Typst, LaTeX or Markdown, and open it in Papers AI.

  • Open your files in Papers AI: send a folder of drafts to a new project, or add files to one you already have.

You sign in with your Papers AI account. Anything you start or open lands in your account as a cloud project.

Claude (claude.ai and Claude Desktop)

  1. Open Settings → Connectors → Add custom connector.

  2. Name it Papers AI and enter the URL https://papers.ai/mcp.

  3. When asked for OAuth details, enter the Client ID c07724a3-aea8-4182-b2f8-d0c97603c08b. Leave the client secret empty.

  4. Select Connect and sign in with your Papers AI account.

On a Claude Team or Enterprise plan, only an organization owner can add a custom connector. Ask yours to add it for the team.

Tip: in the connector's tool permissions, set Start a paper and Open in Papers AI to Needs approval. These two create projects in your account. Verifying and formatting only read.

Claude Code

You have two options. They give the same tools.

The plugin. Adds the Papers AI command-line tool together with a skill that teaches Claude Code when to use it:

Then install the command-line tool with npm install -g @papers-ai/cli and run papers-ai login once.

The connector. Needs Claude Code 2.1.231 or later. Port 38080 must be free while you sign in:

Then run /mcp in Claude Code, choose papers-ai, select Authenticate and sign in.

Codex, Cursor and the terminal

Install the command-line tool (Node 20 or later) and sign in:

On Windows PowerShell, running npm or papers-ai may fail with "running scripts is disabled on this system". Use npm.cmd and papers-ai.cmd instead, or allow local scripts once with Set-ExecutionPolicy -Scope CurrentUser RemoteSigned.

Codex and Cursor load user skills from ~/.agents/skills. Copy the skill there once to use it from either client. See the Codex skills documentation and Cursor skills documentation.

On its own, the tool works like this:

What is sent to Papers AI

  • Verify and format send the references you give them, and look them up in Crossref.

  • Start a paper creates a new project in your account.

  • Open sends the files you name. The command-line tool skips what .gitignore excludes, and it never sends common credential files (.env, private keys, .npmrc, .ssh/, .aws/). A secret stored under another name is still sent, so check the folder first.

  • Your sign-in is kept in your operating system's keychain (macOS Keychain, Windows Credential Manager, the Secret Service on Linux), never in a plain file. papers-ai logout removes it.

Troubleshooting

You see
What to do

"This server does not serve the Papers AI MCP endpoint"

The connector is not available right now. Try again later.

You are asked to sign in again

Your session expired or was revoked. Sign in again (in Claude Code: /mcp → Authenticate; in the terminal: papers-ai login).

Claude Code sign-in fails with a redirect error

Update Claude Code to 2.1.231 or later, and check nothing else is using port 38080.

"Too many calls. Try again in a minute."

You hit the per-minute limit. Wait a minute.

A reference is reported as mismatch on its title

A free-text reference must include the paper's title to be confirmed. Add it, or pass the DOI with the authors and year as separate fields.

Last updated

Was this helpful?