Skip to content
appsgit

MCP Logseq

MCP Logseq is an MCP server that adds search and knowledge tools to AI assistants such as Claude Desktop, Claude Code and Cursor. MCP server to interact with LogSeq via its Local HTTP API - enabling AI assistants like Claude to… It has 340 GitHub stars, is released under the MIT license and runs locally with uvx mcp-logseq.

github.com/ergut/mcp-logseq (opens in a new tab)

Install MCP Logseq

Generated from the server's published package. Replace your-value with your own values.

Claude Desktop

claude_desktop_config.json
{
  "mcpServers": {
    "mcp-logseq": {
      "command": "uvx",
      "args": [
        "mcp-logseq"
      ],
      "env": {
        "LOGSEQ_API_TOKEN": "your-value"
      }
    }
  }
}

Settings > Developer > Edit Config. macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\. Restart Claude Desktop afterwards.

Claude Code

claude mcp add --env LOGSEQ_API_TOKEN=your-value --transport stdio mcp-logseq -- uvx mcp-logseq

Cursor

.cursor/mcp.json
{
  "mcpServers": {
    "mcp-logseq": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "mcp-logseq"
      ],
      "env": {
        "LOGSEQ_API_TOKEN": "your-value"
      }
    }
  }
}

Project file; use ~/.cursor/mcp.json to enable it in every project.

VS Code

.vscode/mcp.json
{
  "inputs": [
    {
      "type": "promptString",
      "id": "logseq_api_token",
      "description": "LOGSEQ_API_TOKEN",
      "password": true
    }
  ],
  "servers": {
    "mcp-logseq": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "mcp-logseq"
      ],
      "env": {
        "LOGSEQ_API_TOKEN": "${input:logseq_api_token}"
      }
    }
  }
}

Config formats checked against the official docs on Oct 7, 2026: modelcontextprotocol.io (opens in a new tab), code.claude.com (opens in a new tab), cursor.com (opens in a new tab), code.visualstudio.com (opens in a new tab).

Environment variables

Variables the server reads at startup.

NameRequiredDescription
LOGSEQ_API_TOKENsecretNoShown in the README's example configuration.
LOGSEQ_API_URLNoShown in the README's example configuration.

Tools (2)

Parsed from the Tools section of the README; check the repository for the current list.

  • append

    Add new content after existing blocks

  • replace

    Clear page and replace with new content

About MCP Logseq

MCP server for LogSeq Connect Claude to your LogSeq knowledge base. Read, create, and manage pages — with optional semantic vector search and DB-mode graph support.

  • knowledge-base
  • knowledge-management
  • logseq
  • mcp
  • mcp-server
  • second-brain

FAQ

MCP Logseq FAQ

Still curious? Email info@appsgit.com.

What is MCP Logseq?

MCP Logseq is an MCP server that adds search and knowledge tools to AI assistants such as Claude Desktop, Claude Code and Cursor. MCP server to interact with LogSeq via its Local HTTP API - enabling AI assistants like Claude to… It has 340 GitHub stars, is released under the MIT license and runs locally with uvx mcp-logseq. The source code is at github.com/ergut/mcp-logseq.

How do I install the MCP Logseq MCP server?

Add the command uvx mcp-logseq to your MCP client: put it in claude_desktop_config.json for Claude Desktop, run claude mcp add for Claude Code, or add it to .cursor/mcp.json (Cursor) or .vscode/mcp.json (VS Code). The snippets on this page are ready to paste.

Is MCP Logseq free?

The server is open source under the MIT license, so running it is free. It needs credentials (LOGSEQ_API_TOKEN) for the service it connects to, which may require a paid account.

Is MCP Logseq actively maintained?

The most recent commit was on Sep 27, 2026. The latest release is v1.10.0, published Sep 27, 2026. appsgit only lists MCP servers with a commit in the last six months and re-checks every server daily.