SuperAPI AI Directory

mendeley-mcp

Search your Mendeley library, browse folders, get document metadata, search the global catalog and add papers to your collection.

Open website

About this tool

Purpose

mendeley-mcp is an MCP (Model Context Protocol) server used to connect a Mendeley reference management library to MCP-compatible LLM clients such as Claude Desktop and Cursor. It enables models to directly search, read, and manage the user's academic literature library.

Main Capabilities

  • In-library search: Find papers by title, author, abstract, or notes, returning concise metadata, formatted citation text, and a has_pdf flag.
  • Folder management: Browse, create, rename, delete, and nest collections (folders), with support for specifying a parent folder or group scope.
  • Retrieve full metadata: Retrieve complete details of a document, including identifiers, keywords, tags, timestamps, abstract, and whether a PDF exists.
  • Global catalog search: Access Mendeley's 100M+ paper database, returning catalog_id, abstract metadata, and truncated abstract text.
  • DOI lookup: Resolve papers in the Mendeley catalog by DOI, returning richer catalog metadata.
  • Document management: Add, update, and delete document entries, and move documents between folders.
  • Read annotations: Return the user's highlights and sticky notes on PDFs, including note text, highlight color, and page number.
  • Export BibTeX: Generate BibTeX citations for a single document or an entire folder, generated by Mendeley itself.
  • Download attachments: Attempt to download document files exposed by Mendeley, returning structured metadata and embedded PDF resources.
  • PDF text reading and search: mendeley_get_document_text can download and extract PDF text on the server side, with support for reading by page range; mendeley_search_document_text can search for case-insensitive literal phrases across all PDF pages.

How to Use

  1. Prepare account and API app: Register a Mendeley account at mendeley.com (using Elsevier authentication); register a Mendeley API app at dev.mendeley.com/myapps.html, set the redirect URL to http://localhost:8585/callback,选择 Authorization code flow, and record the Client ID and Client Secret.
  2. Installation: Installing with uv is recommended, but local builds are also possible. On Intel Macs, because the cryptography library no longer publishes macOS x86_64 wheels after version 49, this package pins cryptography below 49; Apple Silicon, Linux, and Windows are unaffected.
  3. Authentication: Run the authentication wizard, enter the Client ID and Client Secret, and after browser authorization the credentials are securely saved to the system keychain. Credentials can also be configured via environment variables.
  4. Add to Claude Desktop: Edit the Claude Desktop configuration file (macOS: ~/Library/Application Support/Claude/claude_desktop_config.json; Linux: ~/.config/Claude/claude_desktop_config.json; Windows: %APPDATA%\Claude\claude_desktop_config.json), add the server configuration, and restart Claude Desktop.
  5. Usage: After configuration is complete, you can ask Claude things such as "Search my Mendeley library for papers about transformer architectures," "What papers are in my 'Machine Learning' folder," "Find the paper with DOI 10.1038/nature14539 and summarize it," "Search the Mendeley catalog for the latest papers on protein folding," "Add this paper to my library," "Create a folder named 'Systematic Review 2026'," "Create a subfolder 'Screening' under folder folder-123," "Move doc-789 from 'Screening' to 'Included Studies'," "Correct the year of doc-456," "What did I highlight in the attention paper," "Export my 'Lit Review' folder as BibTeX," "DownPDF of a paper on protein folding" and similar requests.

Use cases

  • Literature reviews and systematic reviews: search within the library, organize folders, tag references, export citations.
  • Paper reading and summarization: have the model read PDF text and answer questions, or view the user's own highlights and notes.
  • Literature discovery: fall back to global catalog search when nothing is found in the library, or look up precisely by DOI.
  • Citation management: generate BibTeX entries, correct metadata, organize tags and keywords.

Limitations

  • Requires a Mendeley account and Mendeley API application credentials.
  • The server runs locally; credentials and data do not pass through third-party servers and communicate directly with the Mendeley API.
  • mendeley_get_document_text only supports native digital PDFs; scanned or image-only PDFs have no text layer and will be reported as requiring OCR. The output limit is 200,000 characters, adjustable via MENDELEY_MCP_MAX_TEXT_CHARS.
  • mendeley_get_file_content only reports files larger than 10 MB without embedding them, adjustable via MENDELEY_MCP_MAX_FILE_BYTES; most MCP clients (including Claude Code) do not decode embedded PDF resources, but instead pass the raw base64 to the model, so to have the model actually read a paper you should use mendeley_get_document_text.
  • Catalog results often have no downloadable attachments due to copyright or licensing reasons.
  • mendeley_delete_document is a destructive operation and is irreversible at the API level; the tool description will require the model to confirm with the user first.
  • Neither PDF tool performs OCR or semantic search.
  • Credentials provided via environment variables are not written anywhere, and token persistence must be managed by yourself.
  • Output limits require the text limit to be a positive number and the file limit to be zero or greater; zero means file embedding is disabled but file metadata is retained. Invalid configurations are rejected at startup. These limits do not constrain PDF download size or parsing workload.