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 分