Opencitations

io.github.pipeworx-iov0.1.2更新于 Oct 1, 2026

OpenCitations MCP — citation index (COCI + general Index API).

已验证Streamable HTTP可网页运行Data & AnalyticsKnowledge & Memory

概览

AI 生成的概览

让助手查询学术 DOI 的引用数据——谁引用了某篇论文、它引用了哪些文献,以及书目元数据。

功能
把 OpenCitations 索引(COCI 与通用 Index API)封装为 MCP 工具。工具包括 references(doi)(该 DOI 引用的文献)、citations(doi)(引用该 DOI 的文献)、citation_count(doi) 与 references_count(doi)(引用数量)、metadata(dois)(最多 50 个逗号分隔 DOI 的书目记录),以及 citation(oci)(按 Open Citation Identifier 查询单条引用)。无需密钥,返回开放许可的引用数据。
适用场景
适用于文献综述、引用关系探索、影响力核查,以及核对 DOI 的书目信息。当助手需要引用次数或参考文献列表、又不愿订阅付费文献数据库时,值得添加。
运行要求
以远程 streamable HTTP 端点形式运行在 Pipeworx 网关上;未声明需要账号、API 密钥或环境变量。另提供通过 npx 运行的本地 stdio 版本,需要 Node.js。需要能访问该网关或 opencitations.net 的网络连接。
安装前请注意
该 pack 端点还会暴露 Pipeworx 共享元工具,例如 ask_pipeworx、discover_tools、search_within 以及 remember/recall,因此列出的工具数量多于本 pack 自身工具,会占用额外上下文。查询会发送到第三方网关和 OpenCitations。不要求任何凭据,所述工具仅读取引用数据。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Opencitations,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "opencitations": {
      "type": "http",
      "url": "https://gateway.pipeworx.io/opencitations/mcp"
    }
  }
}

README

@pipeworx/opencitations

OpenCitations MCP — open-license citation index (COCI + Index APIs). Keyless.

Part of Pipeworx — an MCP gateway connecting AI agents to 1683+ live data sources.

Tools

  • references(doi) — DOIs cited BY the given DOI
  • citations(doi) — DOIs that cite the given DOI
  • citation_count(doi) — number of incoming citations for a DOI
  • references_count(doi) — number of outgoing references for a DOI
  • metadata(dois) — bibliographic metadata for one or more DOIs (comma-sep list, max 50)
  • citation(oci) — a single citation by Open Citation Identifier

Data source

https://opencitations.net/index/coci/api/v1/ (COCI) and https://opencitations.net/index/api/v1/ (generic Index endpoints).

Quick Start

Add to your MCP client (Claude Desktop, Cursor, Windsurf, etc.):

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

What this endpoint actually serves

tools/list at https://gateway.pipeworx.io/opencitations/mcp returns the tools in the table above plus the shared Pipeworx meta-tools — ask_pipeworx, discover_tools, search_within, remember/recall and the rest of the gateway-wide set. So the tool count you see is larger than this table: a single-pack endpoint currently lists roughly 30 shared tools alongside the pack's own. The connection's initialize response states its exact scope, and is the authoritative answer for a given day.

This is deliberate, not multiplexing by accident. The meta-tools are what let a scoped connection answer a question this pack does not cover — via ask_pipeworx, which routes across the whole catalog — without you adding a second MCP server. There is currently no way to mount a pack endpoint without them; if the extra schemas cost you more context than the routing is worth, connect to the full gateway once rather than to several pack endpoints.

Or connect to the full Pipeworx gateway to get every pack's tools listed directly, instead of just this one's:

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

Both URLs reach the same gateway and the same 1683+ data sources. The only difference is which pack's tools are listed directly; ask_pipeworx reaches all of them from either one.

No MCP client? Call it over HTTP

bash
curl -X POST https://gateway.pipeworx.io/v1/tools/opencitations_references \  -H 'Content-Type: application/json' \  -d '{"doi":"10.1371/journal.pone.0123456"}'

No account needed for the first calls. Inspect any tool: GET https://gateway.pipeworx.io/v1/tools/opencitations_references. Find one: POST https://gateway.pipeworx.io/v1/tools/search_packs with {"query":"..."}.

Standalone (no gateway account)

This package also runs as a local stdio MCP server — no Pipeworx account, no gateway round-trip:

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

Or run it directly to confirm it starts:

bash
npx -y @pipeworx/mcp-opencitations

It speaks MCP over stdin/stdout and answers initialize/tools/list/tools/call for only this pack's tools — none of the shared meta-tools the gateway connection above adds. Same source, same tools, no ask_pipeworx routing.

Using with ask_pipeworx

Instead of calling tools directly, you can ask questions in plain English — this works on the pack endpoint above as well as on the full gateway:

ask_pipeworx({ question: "your question about Opencitations data" })

The gateway picks the right tool and fills the arguments automatically.

More

License

MIT

来源:README.md,提交 7cfcb12

工具

0
工具元数据尚未被收录。

版本历史

3
  1. v0.1.2最新Sep 27, 2026
  2. v0.1.1Sep 25, 2026
  3. v0.1.0Sep 16, 2026