Opencitations logo

Opencitations

Queries OpenCitations for DOI references, citations, counts, bibliographic metadata, and individual citation records.

Install Opencitations

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "opencitations": {
      "command": "npx",
      "args": [
        "-y",
        "@pipeworx/mcp-opencitations"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Automated check passed— started and listed 6 tools correctly (Today).

Overview

The Opencitations MCP server exposes OpenCitations COCI and generic Index APIs through tools for DOI citation analysis. It can find references cited by a DOI, works that cite it, inbound and outbound counts, metadata for up to 50 DOIs, and a citation by Open Citation Identifier. Use it through the Pipeworx gateway over MCP or HTTP, or run the package locally over stdio. The service is keyless and uses OpenCitations' open-license citation index.

Use cases

  • Trace references cited by a DOI
  • Find papers citing a research work
  • Compare incoming and outgoing citation counts
  • Retrieve metadata for a DOI batch
  • Inspect a citation by OCI identifier

Key features

  • Look up cited DOIs
  • Find citing DOIs
  • Count incoming citations
  • Count outgoing references
  • Fetch metadata for up to 50 DOIs
  • Retrieve a citation by OCI

Tools6

What Opencitations lets your agent do. Expand a tool for its parameters.

Verified live~491 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked 2d ago

Recent health check succeeded.

7/7 checks healthy over the last 46d

What it can do

From the 6 tools this server returned when we ran it.

Makes network requests · 1Read-only tools · 6
Network at startup3 connections
Files written at startupNone
Install scriptsNone
npm provenanceSigned build
Package age160 days
Maintainers1

Observed 2026-10-23 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 14d ago via OSV.dev · @pipeworx/mcp-opencitations (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

npm downloads467Package downloads in the last 30 days.
Last commit27d agoMost recent push to the default branch.
Availability100%Our rolling endpoint + install checks that succeeded.
Install checkPassedOur sandbox started it and listed its tools.
Tools exposed6Callable tools this server registers over MCP.
Directory activity1 viewsConfig copies, upvotes, and views on AllMCPs.

How Opencitations works

What the Opencitations MCP server does

The Opencitations MCP server provides MCP tools for querying OpenCitations citation data. Its primary source is COCI, the OpenCitations Index of Crossref citations, supplemented by generic OpenCitations Index endpoints. The package is intended for DOI-focused research workflows where an agent needs citation relationships, counts, or bibliographic records.

Available operations include:

  • references(doi) returns the DOIs cited by a supplied DOI.
  • citations(doi) returns the DOIs that cite the supplied DOI.
  • citation_count(doi) reports the number of incoming citations.
  • references_count(doi) reports the number of outgoing references.
  • metadata(dois) retrieves bibliographic metadata for one or more DOIs. The input is a comma-separated list with a maximum of 50 DOIs.
  • citation(oci) retrieves one citation identified by an Open Citation Identifier.

How it works

The Opencitations MCP server can be reached through a Pipeworx gateway endpoint or started as a local stdio process. The gateway routes requests to OpenCitations and exposes the pack's tools through MCP. Its scoped endpoint also includes shared Pipeworx meta-tools, so tools/list may show more tools than the six OpenCitations operations listed above. The full gateway endpoint lists other data-source packs directly as well.

The underlying data endpoints are https://opencitations.net/index/coci/api/v1/ for COCI and https://opencitations.net/index/api/v1/ for generic Index APIs. The package does not require an API key. Gateway users can also call tools over HTTP, including the references operation through the Pipeworx /v1/tools/ endpoint.

Setup and configuration

For a remote MCP connection, add the gateway URL to an MCP client configuration:

config.json
{
  "mcpServers": {
    "opencitations": {
      "url": "https://gateway.pipeworx.io/opencitations/mcp"
    }
  }
}

For local execution, use the npm package as a stdio server:

config.json
{
  "mcpServers": {
    "opencitations": {
      "command": "npx",
      "args": ["-y", "@pipeworx/mcp-opencitations"]
    }
  }
}

The same local process can be started with npx -y @pipeworx/mcp-opencitations. It communicates over standard input and output and exposes only the pack's own tools. The README also provides Claude Desktop, Cursor, and Windsurf examples through the shared MCP configuration format.

Tools and capabilities

Use references and citations to traverse a paper's outgoing and incoming DOI relationships. Use the count tools when a workflow needs totals without retrieving the full relationship lists. metadata supports batch lookup for up to 50 DOI values, while citation is intended for looking up a single record from an OCI identifier.

A gateway connection can use ask_pipeworx to submit a plain-language question instead of selecting a tool and filling its arguments directly. That routing option is available from the scoped pack endpoint and the full Pipeworx gateway, but it is not part of the standalone local process.

Limitations and notes

The documented operations are centered on DOI and OCI identifiers. Metadata batch requests are limited to 50 DOIs. A scoped gateway connection includes shared Pipeworx tools in addition to the OpenCitations tools, which increases the schemas returned by tools/list; the local stdio mode avoids those shared tools. The Opencitations MCP server accesses the cited OpenCitations endpoints and therefore returns the records available from those indexes.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Opencitations

Opencitations is an MCP server that connects AI agents to the OpenCitations COCI and generic Index APIs. Its main tools retrieve references, citing works, citation and reference counts, DOI metadata, and individual citations identified by Open Citation Identifier. It uses open-license data and does not require an API key.

Run it locally with `npx -y @pipeworx/mcp-opencitations` or add that command and argument to an MCP client configuration. You can instead configure the hosted `https://gateway.pipeworx.io/opencitations/mcp` endpoint. The local mode uses stdio and does not require a Pipeworx gateway account.

Yes, Opencitations works with Cursor through the standard MCP server configuration. Add the hosted gateway URL to Cursor, or configure Cursor to launch `npx -y @pipeworx/mcp-opencitations` as a local stdio server.

Yes, the Pipeworx gateway exposes HTTP tool endpoints. For example, send a POST request with a DOI to `/v1/tools/opencitations_references` on `https://gateway.pipeworx.io`, using JSON with a `doi` field.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewOpencitations AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/opencitations?style=directory)](https://allmcps.com/mcp/opencitations)
HTML Embed
<a href="https://allmcps.com/mcp/opencitations"><img src="https://allmcps.com/api/badge/opencitations?style=directory" alt="Opencitations on AllMCPs" /></a>