mcpField
D
DEVONthink

DEVONthink

Local
github.com/dvcrnProductivity104Updated 7w ago

About DEVONthink

DEVONthink is an MCP server for users of DEVONthink Pro on macOS. It exposes database and record operations, including search, content management, tagging, and classification suggestions from DEVONthink AI.

Key features

  1. 01Search and look up records by attributes
  2. 02Create, delete, move, and rename records
  3. 03Read and modify content and properties
  4. 04Manage tags and database groups
  5. 05Get AI classification proposals and compare records

Use cases

  1. 01Search DEVONthink material from a client
  2. 02Organize records and tags in databases
  3. 03Review classification proposals or similar records

MCP support

The MCP server exposes DEVONthink Pro record and database operations as tools for MCP clients, including search, creation, modification, and management.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"devonthink": {
"command": "npx",
"args": [
"-y",
"mcp-server-devonthink"
]
}
}
}
Run commandnpx -y mcp-server-devonthink

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npmmcp-server-devonthink

Tools

29

Saved tool list · updated 2w ago

This tool takes no parameters.

Details

From the project README

Devonthink MCP Server

This MCP server provides access to DEVONthink functionality via the Model Context Protocol (MCP). It enables listing, searching, creating, modifying, and managing records and databases in DEVONthink Pro on macOS.

screenshot

Features

  • Exposes a comprehensive set of DEVONthink operations as MCP tools
  • List, search, and look up records by various attributes
  • Create, delete, move, and rename records and groups
  • Retrieve and modify record content, properties, and tags
  • Create records from URLs in multiple formats
  • List open databases and group contents
  • All tools are type-safe and validated with Zod schemas

Tools

Core Tools
  1. is_running

    • Checks if DEVONthink is currently running
    • No input required
    • Returns: { "success": true | false }
  2. create_record

    • Creates new records (notes, bookmarks, groups) with specified properties
    • Input: record type, name, parent group, and optional metadata
  3. delete_record

    • Deletes records by ID, name, or path
    • Input: record identifier
  4. move_record

    • Moves records between groups
    • Input: record ID and destination group
  5. get_record_properties

    • Retrieves detailed metadata and properties for records
    • Input: record identifier
  6. search

    • Performs text-based searches with various comparison options
    • Input: query string and search options
  7. lookup_record

    • Looks up records by filename, path, URL, tags, comment, or content hash (exact matches only)
    • Input: lookup type and value
  8. create_from_url

    • Creates records from web URLs in multiple formats
    • Input: URL and format options
  9. get_open_databases

    • Lists all currently open databases
    • No input required
  10. list_group_content

    • Lists the content of a specific group
    • Input: group identifier
  11. get_record_content

    • Retrieves the content of a specific record
    • Input: record identifier
  12. rename_record

    • Renames a specific record
    • Input: record ID and new name
  13. add_tags

    • Adds tags to a specific record
    • Input: record ID and tags
  14. remove_tags

    • Removes tags from a specific record
    • Input: record ID and tags
  15. classify

    • Gets classification proposals for a record using DEVONthink's AI
    • Input: record UUID, optional database name, comparison type, and tags option
    • Returns: Array of classification proposals (groups or tags) with scores
  16. compare

    • Compares records to find similarities (hybrid approach)
    • Input: primary record UUID, optional second record UUID, database name, and comparison type
    • Returns: Either similar records (single mode) or detailed comparison analysis (two-record mode)
Example: Search Tool
{
  "query": "project plan",
  "comparison": "contains",
  "database": "Inbox"
}

Returns:

{
  "results": [
    { "id": "123", "name": "Project Plan", "path": "/Inbox/Project Plan.md" }
  ]
}

Usage with Claude

Add to your Claude configuration:

{
  "mcpServers": {
    "devonthink": {
      "command": "npx",
      "args": ["-y", "mcp-server-devonthink"]
    }
  }
}

Implementation Details

  • Uses JXA (JavaScript for Automation) to control DEVONthink via AppleScript APIs
  • All tool inputs are validated with Zod schemas for safety and clarity
  • Returns structured JSON for all tool outputs
  • Implements robust error handling for all operations
  • Includes comprehensive tests using Vitest

See CLAUDE.md for full documentation, tool development guidelines, and API reference.

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.