drio
Open app

Logseq MCP Server

Source

simple logseq mcp server

Catalog onlyCatalog onlySTDIO

Overview

Logseq MCP Server is a Model Context Protocol server that allows direct integration with Logseq's knowledge base, enabling LLMs to interact with Logseq graphs, create pages, manage blocks, and organize information programmatically.

To use the Logseq MCP Server, install it via pip or clone the repository from GitHub. Configure your API key and run the server to start interacting with your Logseq instance.

  • Create and manage blocks and pages in Logseq programmatically. - Retrieve current page and block details. - Support for various block and page operations. - Easy installation and configuration.
  1. Automating note-taking and organization in Logseq.
  2. Integrating LLMs for enhanced knowledge management.
  3. Creating structured meeting notes and task lists.

Add to your AI client

Use these steps to connect Logseq MCP Server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.

Cursor

Add this to your .cursor/mcp.json file in your project root, then restart Cursor.

.cursor/mcp.json

{
  "mcpServers": {
    "logseq-mcp-dailydaniel": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-logseq-mcp-dailydaniel"
      ]
    }
  }
}

Claude Desktop

Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

{
  "mcpServers": {
    "logseq-mcp-dailydaniel": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-logseq-mcp-dailydaniel"
      ]
    }
  }
}

Claude Code

Add this to your project's .mcp.json file. Claude Code will detect it automatically.

.mcp.json (project root)

{
  "mcpServers": {
    "logseq-mcp-dailydaniel": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-logseq-mcp-dailydaniel"
      ]
    }
  }
}

VS Code (Copilot)

Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.

.vscode/mcp.json

{
  "servers": {
    "logseq-mcp-dailydaniel": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-logseq-mcp-dailydaniel"
      ]
    }
  }
}

Windsurf

Add this to your Windsurf MCP config file, then restart Windsurf.

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "logseq-mcp-dailydaniel": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-logseq-mcp-dailydaniel"
      ]
    }
  }
}

Cline

Open Cline settings, navigate to MCP Servers, and add this server configuration.

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "logseq-mcp-dailydaniel": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-logseq-mcp-dailydaniel"
      ]
    }
  }
}

FAQ

Can I use Logseq MCP Server with any Logseq instance?

Yes! As long as you have the correct API token and URL, you can integrate it with your Logseq instance.

Is there a limit to the number of blocks I can create?

No, you can create as many blocks as your Logseq instance can handle.

How do I troubleshoot issues with the server?

You can use the debugging commands provided in the documentation to inspect and resolve issues.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":1509,"uuid":"1655c2dd-2296-40cb-8c62-1c85988167c5","name":"logseq-mcp","title":"Logseq MCP Server","description":"simple logseq mcp server","avatar_url":"https://avatars.githubusercontent.com/u/45753941?v=4","created_at":"2025-02-20T16:07:48.840Z","updated_at":"2025-02-23T07:22:06.127Z","status":"created","author_name":"dailydaniel","author_avatar_url":"https://avatars.githubusercontent.com/u/45753941?v=4","tags":"[]","category":"developer-tools","is_featured":false,"sort":1,"url":"https://github.com/dailydaniel/logseq-mcp","target":"_self","content":"$29","summary":"$2a","img_url":null,"type":null,"metadata":"{\"star\":\"17\",\"license\":\"MIT license\",\"language\":\"Python\",\"is_official\":false,\"latest_commit_time\":\"2025-04-30 15:30:32\"}","user_uuid":null,"tools":null,"sse_url":null,"sse_provider":null,"sse_params":null,"is_official":false,"server_command":null,"server_params":null,"server_config":null,"allow_call":false,"is_innovation":false,"is_dxt":false,"dxt_manifest":null,"dxt_file_url":null,"is_audit":false},"randomProjects":[],"currentServerKey":"$undefined"}]]}]