Skip to main content
Glama

EndNote MCP Service

This project provides an automated service for reading EndNote .enl libraries and exposing their contents via the MCP (Modular Command Protocol) interface. It enables structured, programmatic access to bibliographic data and PDF full texts for downstream LLMs or automation clients.

Features

  • Automatic EndNote Library Parsing: Reads .enl (SQLite) files and associated .Data folders.

  • MCP Tool Interface: Exposes all functions as MCP tools for easy integration with LLMs or workflow engines.

  • List All References: Enumerate all bibliographic entries with metadata.

  • Fuzzy Search: Search references by (partial) title or keywords, supporting both English and Chinese.

  • PDF Full Text Extraction: Retrieve and extract the full text of attached PDF files by paper title.

  • Backup Mode & Manual Refresh: Optionally operate on a .enl.backup file for safer access, with both automatic and manual refresh support.

Related MCP server: literature-agent-mcp

Typical Usage

  • List all papers: list_papers()

  • Fuzzy search: search_papers('distillation')

  • Extract full text: read_paper('Paper Title')

  • Manually refresh backup: refresh_backup()

Application Scenarios

  • LLM-based literature review and knowledge extraction

  • Automated research assistants

  • Academic data mining and analysis

Requirements

  • Python 3.10+

  • EndNote .enl file and corresponding .Data folder

  • MCP/fastmcp runtime environment

Installation

  1. Install uv if you don't have it:

    pip install uv
    # or see https://github.com/astral-sh/uv for other installation methods
  2. Install dependencies using uv (recommended):

    uv pip install -r requirements.txt

    The main dependencies are:

    • fastmcp>=2.8.1

    • pypdf>=5.6.0

    A requirements.txt file is provided for compatibility, but uv is the recommended tool for dependency management.

Configuration

You need to provide the path to your EndNote .enl file and the corresponding .Data folder. Optionally, you can enable detailed logging.

You may also enable backup mode with the --use-backup or -b option. When enabled, all database operations are performed on a .enl.backup file, which is automatically refreshed from the original .enl file at startup. You can manually refresh the backup at any time using the refresh_backup() MCP tool.

Why Backup Mode?

EndNote software locks the .enl file while it is running, preventing other programs from accessing it. This means that when you are viewing or editing references in EndNote, this tool cannot operate on the original .enl file. To solve this, backup mode was introduced: all operations are performed on a .enl.backup copy. When you need to refresh the backup, you must first close EndNote to release the file lock; otherwise, the refresh will fail.

Running the Server

Start the MCP server with the required arguments:

python server.py --enl-file <path-to-your.enl> --data-folder <path-to-your.Data> [--enable-log] [--use-backup]
# or using short options:
python server.py -e <path-to-your.enl> -d <path-to-your.Data> -l -b
  • --enl-file, -e: Path to the EndNote .enl file (required)

  • --data-folder, -d: Path to the EndNote .Data folder (required)

  • --enable-log, -l: Enable detailed log output (optional)

  • --use-backup, -b: Use .enl.backup for all DB operations (optional, enables backup mode; the backup is auto-refreshed at startup)

When backup mode is enabled, all operations are performed on the .enl.backup file. The backup is automatically refreshed from the original .enl file at server startup, and you can manually refresh it at any time using the refresh_backup() tool.

MCP Server Configuration

To integrate this service with MCP-compatible clients or orchestration tools, you can define an entry in your mcp.json configuration. Example:

{
  "mcpServers": {
    "enl_reader_mcp": {
      "command": "uv",
      "args": [
        "run",
        "--directory",
        "<path-to-your-clone>",
        "-m",
        "server",
        "-e",
        "E:/EndNoteLib/your_library.enl",
        "-d",
        "E:/EndNoteLib/your_library.Data",
        "-l",
        "-b"
      ]
    }
  }
}
  • Replace <path-to-your-clone> with the actual path where you cloned this repository.

  • Adjust the paths to your .enl file and .Data

  • Add -b to enable backup mode if desired. When enabled, the service will operate on a .enl.backup file and support manual refresh via the refresh_backup tool.

MCP Tools

  • list_papers(offset=0, limit=10): List all references with pagination.

  • search_papers(query): Fuzzy search references by title or keywords.

  • read_paper(title): Get metadata and PDF full text by (fuzzy) title.

  • refresh_backup(): Manually refresh the .enl.backup file (only available when backup mode is enabled; has no effect if backup mode is off).

Note: The refresh_backup tool is only effective when backup mode is enabled. Backup mode is recommended for scenarios requiring read-only or safer access to the EndNote library.

TDQS

A4.2/5.0
Disambiguation3/5

There is some overlap between list_papers and search_papers, as both return lists of papers with similar metadata, which could cause confusion about when to use each. However, read_paper and refresh_backup have distinct purposes, and the descriptions help clarify that search_papers is for fuzzy title/keyword searches while list_papers is for paginated listing.

Naming Consistency5/5

All tool names follow a consistent verb_noun pattern with snake_case, such as list_papers, read_paper, refresh_backup, and search_papers. This makes the tool set predictable and easy to understand.

Tool Count4/5

With 4 tools, the count is reasonable for a library reader focused on paper retrieval and management. It covers core operations like listing, searching, reading, and backup refresh, though it might be slightly thin if more advanced features like updating or deleting papers were expected.

Completeness3/5

The tool set covers basic read operations (list, search, read) and a utility (refresh_backup), but lacks CRUD completeness for a paper management system, as there are no tools for creating, updating, or deleting papers. This could lead to gaps in agent workflows that require full lifecycle management.

Maintenance

ActivityInactive
ResponsivenessSyncing

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

Related MCP Servers

  • A
    license
    A
    quality
    B
    maintenance
    Enables passage-level semantic search over a Zotero library by extracting, chunking, and embedding PDF text using Gemini and ChromaDB. It provides MCP tools to perform topical searches and retrieve specific document passages with surrounding context.
    4
    9
    MIT
  • F
    license
    C
    quality
    D
    maintenance
    Exposes a local biomedical literature pipeline as MCP tools for automated research workflows. Enables literature search, open-access paper retrieval, and draft generation for biomedical and pathology domains through standard MCP clients.
    6
  • A
    license
    Not graded
    quality
    B
    maintenance
    Connect your EndNote reference library to Claude AI. Search references, read PDFs, format citations, find related papers, and generate bibliographies directly in Claude Desktop conversations.
    42
    AGPL 3.0
  • A
    license
    C
    quality
    F
    maintenance
    Enables comprehensive scientific literature retrieval and analysis through Europe PMC, PubMed, and other databases, supporting metadata extraction, full-text access, and identifier conversion via MCP and CLI.
    6
    2
    MIT

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/DOGGY-SAINT/ENL-Reader-MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server