Labsco
mlava logo

Scholar Sidekick MCP

โ˜… 4

from mlava

Resolve, format, and export academic citations from any AI assistant

๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅโœ“ VerifiedPaid serviceNeeds API keys

Scholar Sidekick MCP Server

MCP server for Scholar Sidekick โ€” resolve any scholarly identifier (DOI, PMID, PMCID, ISBN, arXiv, ISSN, NASA ADS bibcode, WHO IRIS URL) into 10,000+ CSL styles or nine export formats, plus retraction, open-access, and citation-fabrication-detection checks, from any AI assistant.

Highlights

  • Eight identifier types out of the box โ€” DOIs, PMIDs, PMCIDs, ISBNs, arXiv IDs, ISSNs, NASA ADS bibcodes, and WHO IRIS URLs (rare in citation tooling).
  • Batch-friendly resolve / format / export โ€” each accepts a single identifier or a comma- or newline-separated list; the server normalises the list and resolves them in one round trip.
  • 10,000+ citation styles โ€” five hand-tuned builtins (Vancouver, AMA, APA, IEEE, CSE) plus any CSL style ID, with alias and dependent-style resolution.
  • Nine export formats โ€” BibTeX, RIS, CSL JSON, EndNote (XML/Refer), RefWorks, MEDLINE, Zotero RDF, CSV, plain text.
  • Retraction & open-access checks โ€” checkRetraction surfaces retractions, corrections, and expressions of concern (Crossref / Retraction Watch); checkOpenAccess returns OA status and the best legal landing or PDF URL (Unpaywall). Both accept any identifier type and resolve it to a DOI under the hood.
  • Citation-fabrication detection โ€” verifyCitation cross-checks a claimed citation against the resolved record at its identifier, detecting the dominant AI-driven fabrication pattern documented by Topaz et al. (Lancet 2026) โ€” real DOI + invented title โ€” that simple identifier resolution cannot catch. Long-form explainer at scholar-sidekick.com/citation-integrity.
  • Composable workflow โ€” chain resolveIdentifier โ†’ formatCitation โ†’ exportCitation in one prompt for an end-to-end "raw IDs โ†’ exportable bibliography" pipeline.
  • Provenance metadata on every response โ€” formatted output is followed by a metadata block (requestId, formatter, styleUsed, warnings) so the assistant can show users which engine produced each citation.
  • No key required โ€” works anonymously against the public Scholar Sidekick API (rate-limited free tier); add a free first-party ssk_ key for higher limits, or a RapidAPI key for paid/managed tiers.
  • Hosted HTTP endpoint (no install) โ€” prefer not to run a local stdio server? Connect any HTTP-capable MCP client straight to https://scholar-sidekick.com/api/mcp (Streamable HTTP, same 6 tools). See Hosted HTTP endpoint.
  • REST API twin โ€” the same endpoints are available as the Scholar Sidekick REST API for non-MCP integrations.

Tools

ToolDescription
resolveIdentifierResolve DOIs, PMIDs, PMCIDs, ISBNs, arXiv IDs, ISSNs, ADS bibcodes, and WHO IRIS URLs to structured bibliographic metadata (CSL JSON). Accepts a single identifier or a comma/newline-separated batch.
formatCitationFormat one or many identifiers into Vancouver, AMA, APA, IEEE, CSE, or any of 10,000+ CSL styles. Output as text, HTML, or JSON. Returns formatted citations plus a provenance metadata block.
exportCitationExport one or many identifiers to BibTeX, RIS, CSL JSON, EndNote (XML/Refer), RefWorks, MEDLINE, Zotero RDF, CSV, or plain text โ€” ready to write to disk or hand to a reference manager.
checkRetractionCheck whether a single work has been retracted, corrected, or had an expression of concern raised. Sourced from Crossref updated-by (Retraction Watch). Resolves DOI/PMID/PMCID/arXiv/ADS inputs to a DOI before lookup. One identifier per call.
checkOpenAccessCheck whether a single work is openly accessible and where to find the best legal version. Sourced from Unpaywall. Returns OA status (gold/green/hybrid/bronze/closed), best landing/PDF URL, license, and version. Resolves DOI/PMID/PMCID/arXiv/ISBN/ADS inputs to a DOI before lookup. One identifier per call.
verifyCitationVerify a claimed citation against the resolved record at its identifier. Detects the Topaz et al. (Lancet 2026) fabrication pattern โ€” real DOI + invented title โ€” that resolveIdentifier alone cannot catch. Returns one of four verdicts (matched / mismatch / ambiguous / not_found) plus per-field similarity scores and the resolved record so the user can see where the cited title and the actual paper diverged. Optional Stage 3 LLM screen rescues informal-abbreviation false positives (paid plans / first-party authentication only). One citation per call.

Environment Variables

VariableRequiredDescription
SCHOLAR_API_KEYNoFree first-party ssk_ key from scholar-sidekick.com/account; raises rate limits and enables the verifier's LLM screen. Sent as Authorization: Bearer.
RAPIDAPI_KEYNoRapidAPI subscription key for paid/managed tiers; when set, calls route through the RapidAPI gateway.
RAPIDAPI_HOSTNoRapidAPI host (defaults to scholar-sidekick.p.rapidapi.com)
SCHOLAR_SIDEKICK_URLNoOverride the API base URL (defaults to https://scholar-sidekick.com, or the RapidAPI gateway when RAPIDAPI_KEY is set).
SCHOLAR_SIDEKICK_TIMEOUT_MSNoRequest timeout in milliseconds (default: 30000)

No key at all โ†’ anonymous, rate-limited free tier. With both SCHOLAR_API_KEY and RAPIDAPI_KEY set, RapidAPI takes precedence.

Supported Citation Styles

Scholar Sidekick supports 10,000+ CSL styles, including all major formats used in academic publishing:

StyleKeyword
Vancouvervancouver
APA (7th ed.)apa
AMAama
IEEEieee
CSEcse
Chicago (author-date)chicago-author-date
Harvardharvard-cite-them-right
MLAmodern-language-association
Turabianturabian-fullnote-bibliography
Naturenature
BMJbmj
Lancetthe-lancet

Any CSL style ID can be passed as the style parameter.

Supported Identifiers

  • DOIs (e.g. 10.1056/NEJMoa2033700)
  • PubMed IDs (e.g. PMID:30049270)
  • PubMed Central IDs (e.g. PMC7793608)
  • ISBNs (e.g. ISBN:9780192854087)
  • arXiv IDs (e.g. 2301.08745)
  • ISSNs and eISSNs
  • NASA ADS bibcodes
  • WHO IRIS URLs

Provenance & Determinism

Every formatCitation and exportCitation response is followed by a metadata block so the assistant โ€” and the user โ€” can see exactly which engine produced each citation:

  • formatter โ€” builtin (one of Vancouver, AMA, APA, IEEE, CSE โ€” hand-tuned in TypeScript) or csl (citeproc-js with a CSL stylesheet).
  • styleUsed โ€” the canonical style ID after alias and dependent-style resolution (e.g. asking for harvard resolves to harvard-cite-them-right).
  • requestId โ€” for support, reproducibility, and log correlation.
  • warnings โ€” populated when a fallback was used or the requested style was a dependent of another.

Identifier resolution is deterministic given the same inputs and pinned upstream metadata. Repeated identical requests are cache-hit on the underlying REST API and surface that via the x-scholar-cache header.

REST API

For programmatic access outside of MCP clients, the same capabilities are available as a REST API at scholar-sidekick.com โ€” anonymously, with a free first-party ssk_ key (Authorization: Bearer), or via RapidAPI for paid tiers. Whichever credential you use here works there too.

Development

npm install
npm run build    # Bundle to dist/mcp-server.mjs
npm test         # Run tests
npm run typecheck