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