duke-book

Official registry Search and web

Manage Duke Bookmark notes, categories, and plan-enabled knowledge search over MCP.

Install

Add this to your client's MCP configuration (Claude Desktop: claude_desktop_config.json; Cursor: .cursor/mcp.json; VS Code and others use the same "mcpServers" shape).

NPM package duke-book
Claude Code
claude mcp add duke-book -e 'DUKE_API_BASE_URL=<DUKE_API_BASE_URL>' -e 'DUKE_API_TOKEN=<your duke_api_token>' -- npx -y duke-book@0.1.5
JSON configuration (Claude Desktop, Cursor, VS Code)
{
    "mcpServers": {
        "duke-book": {
            "command": "npx",
            "args": [
                "-y",
                "duke-book@0.1.5"
            ],
            "env": {
                "DUKE_API_BASE_URL": "<DUKE_API_BASE_URL>",
                "DUKE_API_TOKEN": "<your duke_api_token>"
            }
        }
    }
}

Environment variables

  • DUKE_API_BASE_URL Base URL of the Duke Bookmark service.
  • DUKE_API_TOKEN required secret Explicit-scope Duke Bookmark API token whose plan enables API_ACCESS and MCP_ACCESS; knowledge search also requires AI_RAG.

Frequently asked questions

What is duke-book?

Manage Duke Bookmark notes, categories, and plan-enabled knowledge search over MCP.

How do I install duke-book?

It runs on your machine. In Claude Code: claude mcp add duke-book -e 'DUKE_API_BASE_URL=<DUKE_API_BASE_URL>' -e 'DUKE_API_TOKEN=<your duke_api_token>' -- npx -y duke-book@0.1.5. For other clients, paste the JSON configuration from this page into their MCP settings.

Does duke-book need an API key?

Yes. It expects DUKE_API_TOKEN, which you set in its configuration.

Is duke-book open source?

Its code is public on GitHub, but the repository does not declare a standard license.

Who maintains duke-book?

It is published by gitHubDujianfeng. AI.tn lists it but does not maintain or endorse it.

From the official MCP Registry. Listing is not an endorsement: review a server's code and permissions before giving it access to your data.