← Back to DEVONthink MCP Server
Install DEVONthink MCP Server
Pick your client, copy the command, done.
1
Add it to Claude Code
claude mcp add devonthink-mcp -- npx -y github:TomBener/devonthink-mcpEnvironment Variables
Set these before running DEVONthink MCP Server.
VariableDescriptionRequired
BIBLIOGRAPHY_JSONPath to the exported bibliography JSON file for metadata resolutionNoAvailable Tools (18)
Once configured, DEVONthink MCP Server gives your AI agent access to:
is_runningChecks if DEVONthink is currently runningcreate_recordCreates new records with specified propertiesrecord typenameparent groupmetadatadelete_recordDeletes records by ID, name, or pathrecord identifiermove_recordMoves records between groupsrecord IDdestination groupget_record_propertiesRetrieves detailed metadata and properties for recordsrecord identifiersearchPerforms text-based searches with various comparison optionsquery stringsearch optionslookup_recordLooks up records by filename, path, URL, tags, comment, or content hashlookup typevaluecreate_from_urlCreates records from web URLs in multiple formatsURLformat optionsget_open_databasesLists all currently open databaseslist_group_contentLists the content of a specific groupgroup identifierget_record_contentRetrieves the content of a specific recordrecord identifierrename_recordRenames a specific recordrecord IDnew nameadd_tagsAdds tags to a specific recordrecord IDtagsremove_tagsRemoves tags from a specific recordrecord IDtagsclassifyGets classification proposals for a record using DEVONthink's AIrecord UUIDdatabase namecomparison typetags optioncompareCompares records to find similaritiesprimary record UUIDsecond record UUIDdatabase namecomparison typeget_bib_metadataResolves bibliography metadata for a DEVONthink record or Finder pathFinder pathrecord UUIDDEVONthink IDdatabasebibliographyJsonPathbibliographyBibPathget_records_by_citation_keyResolves a citation key to its attachment metadata and matching DEVONthink recordscitationKeyJSON/BibTeX export pathsTry It Out
After setup, try these prompts with your AI agent:
→Search for all records in my 'Inbox' database containing the phrase 'project plan'.
→List the contents of my 'Research' group in DEVONthink.
→Find the DEVONthink record associated with the citation key 'smith2023ai'.
→Get classification proposals for the record with UUID '12345-67890'.
→Add the tag 'urgent' to the record named 'Meeting Notes'.
Prerequisites & system requirements
- An MCP-compatible client (Claude Code, Cursor, Windsurf, Claude Desktop, or Codex)
- Node.js 18+ with npm/npx installed
Alternative installation methods
Codex
codex mcp add devonthink --env BIBLIOGRAPHY_JSON=/path/to/bibliography.json -- npx -y github:TomBener/devonthink-mcpKeep this setup from going cold
Save the docs, env vars, and workflow around DEVONthink MCP Server in Conare so Claude Code, Codex, and Cursor remember it next time.