Sourcely MCP for Cursor

Connect Sourcely MCP to Cursor

Configure Sourcely in ~/.cursor/mcp.json so Cursor Agent can search peer-reviewed papers, write Related Work sections in LaTeX, and verify every entry in your references.bib.

How does Sourcely MCP work inside Cursor?

Adding Sourcely to Cursor's MCP configuration gives Cursor Agent direct tool access to 200M+ academic publications, DOI verification, and 760+ citation styles right inside your LaTeX, Quarto, RMarkdown, or Markdown repository—so your editor writes clean, real BibTeX instead of hallucinated citations.

Set up Sourcely in Cursor

Auth method: API key. Works on every Cursor plan using a Sourcely dashboard API key stored safely in your SOURCELY_API_KEY environment variable.

~/.cursor/mcp.json
{
  "mcpServers": {
    "sourcely": {
      "url": "https://mcp.sourcely.net/mcp",
      "headers": {
        "Authorization": "Bearer ${env:SOURCELY_API_KEY}"
      }
    }
  }
}
  1. 1

    Create a Sourcely API key

    Open API and MCP in your Sourcely dashboard (app.sourcely.net/api-mcp) and generate a personal key.

  2. 2

    Add Sourcely to ~/.cursor/mcp.json

    Paste the Streamable HTTP configuration snippet below into your global or project .cursor/mcp.json.

  3. 3

    Export SOURCELY_API_KEY and reload Cursor

    Set SOURCELY_API_KEY in your shell environment and restart Cursor; Sourcely will appear under Tools & MCP.

What to ask Cursor once connected

Copy any prompt below to run verified academic search, citation verification, or BibTeX formatting.

Heal references.bib in repo

“Audit every entry in @references.bib using Sourcely verify_citation and replace any broken DOIs or unverified citations.”

Cursor inspects your .bib file and fixes entries in place.

Draft Related Work in LaTeX

“Using Sourcely, find 6 peer-reviewed papers on protein structure prediction since 2021, append their BibTeX to refs.bib, and cite them in section2.tex.”

End-to-end verified LaTeX drafting without leaving Cursor.

Verify citations in Markdown docs

“Check every DOI in @paper.qmd and format missing entries in IEEE style.”

Calls get_paper_by_doi and format_citation cleanly.

Frequently asked questions

Should I commit my Sourcely API key inside .cursor/mcp.json?

Never commit secret keys to Git. Use ${env:SOURCELY_API_KEY} in ~/.cursor/mcp.json and export the key in your local shell profile.

Does Cursor support Streamable HTTP MCP servers?

Yes. Cursor natively connects to Streamable HTTP endpoints via the url and headers configuration fields.

Can Cursor write directly into my references.bib file?

Yes—Cursor Agent calls Sourcely's format_citation (with style bibtex) and edits your local .bib and .tex files automatically.

Give Cursor verified academic citations

Stop verifying hallucinated DOIs by hand. Connect Sourcely's hosted MCP server or explore our HTTP API for custom pipelines.

Free tools

No account needed. Pick a tool below, or browse the full directory.

All Free Tools
Go home

Welcome to Sourcely! Our AI-powered source finding tool is built by students for students, allowing us to truly understand the needs of the academic community. This student perspective keeps us up-to-date with the latest research and trends, while our collaborative approach ensures that Sourcely is continually improving and evolving.

LinkedinXTikTokEmail

© 2026 Sourcely