Endnote Mcp

io.github.gokmengokhan由 GitHub 帳號 gokmengokhan 發布v1.4.15更新於 Oct 27, 2026

Search, cite, and read PDFs from your EndNote library in Claude Desktop

已驗證STDIO僅桌面檔案與儲存知識與記憶

概覽

AI 產生的概覽

將本機 EndNote 文獻庫接入 Claude Desktop,讓助理搜尋文獻與 PDF、格式化引文並產生參考文獻清單。

可以做什麼
  • 依作者、標題、年份、關鍵字或摘要檢索文獻,並在 PDF 內文中搜尋
  • 執行中介資料與全文的合併檢索,以及可選的語意檢索
  • 查看文獻詳細資料並讀取 PDF 指定頁面
  • 依 APA 7th、Harvard、Vancouver、Chicago 或 IEEE 格式化單筆引文,並批次產生參考文獻清單
  • 將文獻匯出為 BibTeX,並找出相關文獻
  • 在重新匯出 EndNote 文獻庫後重建本機索引
適用情境
適合以 EndNote 管理文獻的研究者與寫作者,希望在 Claude Desktop 對話中查找論文、引用 PDF 內容,並取得格式正確的引文與參考文獻清單。
執行需求
以 Python 套件(endnote-mcp)透過 stdio 在本機執行;桌面安裝包只需 EndNote 20+ 與 Claude Desktop,命令列方式另需 Python 3.10+ 及 uv 或 pip。需設定 EndNote 文獻庫的 XML 匯出檔與 PDF 附件資料夾。語意檢索為選用額外相依套件,不需 API 金鑰。
安裝前請注意
索引來自 XML 匯出檔,新增文獻須重新匯出並重建索引後才會出現。伺服器會讀取本機文獻庫與 PDF 檔案,並寫入本機 SQLite 資料庫與設定檔;README 表示除一般對話外不會上傳內容。選用的語意向量會下載並在本機執行模型。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Endnote Mcp,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

EndNote MCP

[Tests] [PyPI] [Python] [License]

Connect your EndNote reference library to Claude AI. Search references, read PDFs, format citations, find related papers, and generate bibliographies — all directly in Claude Desktop conversations.

What It Does

Once set up, you can ask Claude things like:

  • "Search my library for social capital and Bourdieu"
  • "Find papers about how organisations deal with uncertainty" (semantic search)
  • "Find references related to paper #3844"
  • "Give me the APA citation for reference #1234"
  • "Generate a bibliography for references 12, 45, 78, 102"
  • "Export references 12, 45, 78 as BibTeX"
  • "Read pages 5-7 from that Smith et al. paper"

Claude searches your local library — nothing is uploaded to the cloud beyond the normal conversation.

How It Works

EndNote Library → XML Export → endnote-mcp index → SQLite Database (FTS5 + Embeddings)                                                          ↕                                   Claude Desktop ← MCP Server (12 tools)

Your references and PDF text are indexed into a local SQLite database with full-text search. Optionally, AI embeddings enable semantic search — finding papers by meaning, not just keywords. When semantic dependencies are installed, new references are automatically embedded during indexing. Claude connects through the Model Context Protocol (MCP).

Requirements

  • EndNote 20+ (any edition)
  • Claude Desktop app

The bundle installer below has no other prerequisites — Claude Desktop manages Python and dependencies. The CLI install path additionally needs Python 3.10+ and uv (or pip).

Install (Desktop Bundle — Recommended)

The fastest install for non-engineers. No Python or terminal required.

  1. Export your library from EndNote. File → Export → choose XML format → save somewhere like Desktop.
  2. Download endnote-mcp.mcpb from the latest release.
  3. Double-click the .mcpb file (or in Claude Desktop: Settings → Extensions → Install Extension…).
  4. In the install dialog, point Claude Desktop at:
    • Your EndNote XML file (from step 1)
    • Your PDF Attachments Folder — usually <library>.Data/PDF/ next to your .enl file, or PDF/ inside an .enlp package.
  5. Click Install. Claude Desktop will start indexing your library automatically — metadata is searchable within seconds, PDF text and semantic embeddings finish in the background.

That's it. Try asking Claude "Search my library for grounded theory".

The bundle keeps its own configuration (config-mcpb.yaml), so installing it will not disturb an existing CLI setup. Both default to the same database, so if you already indexed with the CLI the bundle reuses that index rather than building a second copy.

Building the bundle yourself

Maintainers (or anyone working from source) can build it with:

bash
bash scripts/build_mcpb.sh# → dist/endnote-mcp.mcpb

The build is a single cross-platform .mcpb file (~36 KB). Dependencies resolve at install time via the uv runtime bundled with Claude Desktop.

The format was called DXT and used the .dxt extension until it was renamed upstream to MCPB (MCP Bundles). See modelcontextprotocol/mcpb.

Install (CLI / from PyPI)

Prefer the terminal? This path gives you the endnote-mcp CLI for indexing and embedding.

1. Install

bash
# With uv (recommended)uv tool install endnote-mcp
# Or with pippip install endnote-mcp

2. Export your library from EndNote

In EndNote: File → Export → choose XML format → save to a convenient location (e.g., Desktop).

3. Run the setup wizard

bash
endnote-mcp setup

The wizard will:

  • Auto-detect your XML export and PDF directory
  • Create the configuration
  • Index your library
  • Configure Claude Desktop automatically

4. Restart Claude Desktop

Quit and reopen Claude Desktop. You'll see "EndNote Library" in your MCP connectors.

Claude Code Plugin and Agent Skill

The repo includes a skill, endnote-library, that teaches an agent how to work with your library: cite only records the tools return, take page numbers from the printed page rather than the PDF position, check quotations word for word, and verify a draft's references one by one.

Claude Code. Install the CLI and index your library first (steps 1–3 above), then run:

/plugin install endnote --marketplace gokmengokhan/endnote-mcp

On Claude Code before 2.1.275, run /plugin marketplace add gokmengokhan/endnote-mcp, then /plugin install endnote@endnote-mcp. The plugin adds the skill and starts the server with endnote-mcp serve, so that command must be on your PATH. If you already added the server with claude mcp add and the same command, Claude Code connects it only once; if yours uses another command or path, remove it with claude mcp remove endnote to avoid duplicate tools.

Claude Desktop. Zip the plugin/skills/endnote-library/ folder and upload it under Customize > Skills.

Other agents. Agents that read Agent Skills (SKILL.md folders) can use the same skill: copy plugin/skills/endnote-library/ into the agent's skills directory.

Semantic Search (Optional)

Enable meaning-based search that finds references even when they use different terminology than your query. For example, searching "how companies prepare for uncertain futures" finds papers on scenario planning and strategic foresight.

bash
# Install semantic search dependenciespip install endnote-mcp[semantic]
# Generate embeddings (~3 min for 4,000 references)endnote-mcp embed

This uses the lightweight all-MiniLM-L6-v2 model locally — no API keys needed, everything stays on your machine.

Commands

CommandWhat It Does
endnote-mcp setupInteractive setup wizard
endnote-mcp indexRe-index after adding new references (incremental)
endnote-mcp index --fullFull re-index from scratch
endnote-mcp index --skip-pdfsIndex metadata only (fast, ~1 sec)
endnote-mcp index --embedRe-index and generate embeddings
endnote-mcp embedGenerate semantic search embeddings
endnote-mcp embed --fullRegenerate all embeddings from scratch
endnote-mcp statusShow index statistics
endnote-mcp installAdd to Claude Desktop config
endnote-mcp serveStart MCP server (used by Claude Desktop automatically)

Tools Available to Claude

ToolDescription
search_referencesSearch by author, title, year, keywords, abstract (BM25 ranked, with DOI links)
search_fulltextSearch inside PDF content — find concepts, quotes, methods
search_libraryCombined metadata + PDF search in one call
search_semanticSearch by meaning using AI embeddings (requires endnote-mcp[semantic])
get_reference_detailsFull metadata for a reference (abstract, keywords, DOI, etc.)
get_citationFormat as APA 7th, Harvard, Vancouver, Chicago, or IEEE
get_bibtexExport references as BibTeX entries for LaTeX
get_bibliographyGenerate a formatted bibliography for multiple references
find_relatedFind similar references (uses embeddings when available)
read_pdf_sectionRead specific pages from a PDF attachment
list_references_by_topicBroad topic-based listing
rebuild_indexRe-index after updating your EndNote library

Adding New References

When you add new references to your EndNote library:

  1. Re-export XML from EndNote (overwrite the same file)
  2. Either:
    • Run endnote-mcp index from a terminal, or
    • Ask Claude: "Rebuild my library index"

Indexing is incremental — it only processes new references and PDFs, not the entire library again. If semantic search is installed, new references are automatically embedded.

Performance

OperationTime (4,000 references)
Metadata indexing~1 second
PDF extraction (first time)~1 min per 100 PDFs
PDF extraction (incremental)Only new PDFs
Embedding generation~3 minutes
Keyword search< 50 ms
Semantic search< 200 ms

Configuration

Config is stored at:

  • macOS: ~/Library/Application Support/endnote-mcp/config.yaml
  • Windows: %APPDATA%/endnote-mcp/config.yaml
  • Linux: ~/.config/endnote-mcp/config.yaml
yaml
endnote_xml: /path/to/your/library.xmlpdf_dir: /path/to/your/Library.Data/PDFdb_path: /path/to/library.db    # auto-set by setupmax_pdf_pages: 30                # max pages per read requestsearch_notes: false              # include the EndNote Notes field in searches

Notes fields

EndNote's Research Notes — where you keep your own summaries and judgments — is indexed and searched by default, ranked just below keywords and above the abstract.

The plain Notes field is indexed but excluded from matching, because reference managers use it as a dumping ground on import: author affiliations, email addresses, thesaurus terms. Set search_notes: true to include it. The setting takes effect immediately — no re-index needed.

Citation Styles

Five built-in styles:

  • APA 7th — get_citation(rec_number=42, style="apa7")
  • Harvard — style="harvard"
  • Vancouver — style="vancouver"
  • Chicago (Author-Date, 17th ed.) — style="chicago"
  • IEEE — style="ieee"

Use get_bibliography to format multiple references at once, sorted by author or year.

BibTeX Export

Export references as BibTeX entries for use in LaTeX:

  • Ask Claude: "Export references 42 and 100 as BibTeX"
  • Or use the get_bibtex tool directly with comma-separated record numbers

Generates complete entries with proper entry types (@article, @book, @inproceedings, etc.), cite keys, and all available fields.

Troubleshooting

"No configuration found" — Run endnote-mcp setup

"XML file not found" — Re-export from EndNote: File → Export → XML format

"PDF not found" — Check that pdf_dir in your config points to the correct .Data/PDF directory

Search returns no results — Run endnote-mcp index to rebuild the database

Claude Desktop doesn't show the tool — Run endnote-mcp install, then restart Claude Desktop

"Semantic search is not available" — Run pip install endnote-mcp[semantic] then endnote-mcp embed

Client reports the server "failed to connect" / CONNECTION_CLOSED — The client hides the underlying error. Run echo '' | endnote-mcp serve to see the real traceback (the JSON decode error it prints afterwards is just the empty input, not a fault).

Releasing

Publishing runs on a tag push via .github/workflows/release.yml, which uploads to PyPI and the MCP Registry using OIDC — no API tokens are stored in the repository.

The version lives in seven places, and the registry rejects a server.json that does not exactly match the published PyPI release. Bump all of them, then verify before tagging:

bash
# pyproject.toml, server.json (x2), CITATION.cff, the README citation# block, mcpb/manifest.json and mcpb/pyproject.tomlpython scripts/check_version.py v1.4.12
git commit -am "Bump version to 1.4.12"git tag v1.4.12 && git push origin main --tags

Citing This Software

If you use this tool in your research, please cite it:

Gokmen, G. (2026). EndNote MCP: Connecting EndNote Reference Libraries to Claude AI (Version 1.4.15) [Computer software]. https://doi.org/10.5281/zenodo.18617546

Or use the "Cite this repository" button on GitHub for BibTeX/APA formats.

License

AGPL-3.0 — free to use, modify, and distribute. See LICENSE for details.

來源:README.md,提交 6c6db5f

工具

0
SourceWeft 曾在隔離沙箱中以無憑證方式啟動該軟體包一次,以列出其工具,但未能完成:伺服器未能啟動。

版本歷史

4
  1. v1.4.15最新Oct 23, 2026
  2. v1.4.13Oct 14, 2026
  3. v1.4.12Sep 22, 2026
  4. v1.4.9Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分