Skip to main content

logseq-mcp-server

A read-only MCP server for LogSeq graphs. It gives an AI client 10 tools in four kinds: get (a page, a block, what is open now), find (blocks and pages by text, link, property or period), explore (a page's context, its link network and its timeline) and check (a gate on a [[link]] pass). It never writes to the graph.

This package is the server itself: one native Rust binary, with no Python code and no runtime dependencies. It is the same binary, byte for byte, as the one on the project's GitHub Releases. The wheels are built and attested by the release workflow, attached to the release beside the binaries, and uploaded here from there once the release is public.

Install

Wheels exist for macOS (Apple silicon and Intel) and Linux (x86_64, glibc and musl). There is no Windows wheel yet, so installing on Windows fails with "no matching distribution".

uvx logseq-mcp-server      # run it without installing
uv tool install logseq-mcp-server
pipx install logseq-mcp-server

Set up LogSeq

  1. In LogSeq, turn on the HTTP API server (Settings, then API) and generate an auth token.

  2. Create ~/.logseq-mcp/config.json:

    {
      "apiUrl": "http://127.0.0.1:12315",
      "authToken": "your-token-here"
    }
    

The server reads its token from that file, so no credentials go in your client's config.

Connect a client

Claude Desktop (claude_desktop_config.json), or any client that starts MCP servers over stdio:

{
  "mcpServers": {
    "logseq": {
      "command": "uvx",
      "args": ["logseq-mcp-server"]
    }
  }
}

Claude Code:

claude mcp add logseq -- uvx logseq-mcp-server

More

The tools, the options (timeoutMs, tips, LOGSEQ_MCP_CONFIG), the Claude Code plugin with skills, and the design notes are in the project README. Report problems on the issue tracker.

Licensed under MIT. The licences of the crates inside the binary are in THIRD-PARTY-NOTICES.txt, installed in the package's .dist-info/licenses directory.

Metadata

Release files for logseq-mcp-server 2.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for logseq-mcp-server 2.0.0
File Interpreter ABI Platform
logseq_mcp_server-2.0.0-py3-none-manylinux_2_17_x86_64.musllinux_1_2_x86_64.whl Python 3 none Linux musl 1.2+ x86-64, Linux glibc 2.17+ x86-64 Details
logseq_mcp_server-2.0.0-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details
logseq_mcp_server-2.0.0-py3-none-macosx_10_12_x86_64.whl Python 3 none macOS 10.12+ x86-64 Details

Total release size: 7.2 MB

Release files / logseq_mcp_server-2.0.0-py3-none-manylinux_2_17_x86_64.musllinux_1_2_x86_64.whl

Download URL logseq_mcp_server-2.0.0-py3-none-manylinux_2_17_x86_64.musllinux_1_2_x86_64.whl
Size 2.6 MB
Tags Linux glibc 2.17+ x86-64 Linux musl 1.2+ x86-64 Python 3
SHA-256 checksum
How to use checksums
f11937ef072b1f4142a34e0f95c22836e8fd92aaf61d81cc044bdf3bf211d498
BLAKE2b-256 checksum
How to use checksums
f70729cbc35b1a8655876646f70c6ca7d85e2cb868a64144d2470b0baf05a2eb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 15, 2026.

Transparency log

Release files / logseq_mcp_server-2.0.0-py3-none-macosx_11_0_arm64.whl

Download URL logseq_mcp_server-2.0.0-py3-none-macosx_11_0_arm64.whl
Size 2.3 MB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
319ab0bb92ecdc3acee9ddea0cb98ecaf6628ed419b4d40db12302c2ab6194f2
BLAKE2b-256 checksum
How to use checksums
43ee09334421989dff30acc2cc2a2a9cb5b6b6ac5a947781ee589d2fc82579e5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 15, 2026.

Transparency log

Release files / logseq_mcp_server-2.0.0-py3-none-macosx_10_12_x86_64.whl

Download URL logseq_mcp_server-2.0.0-py3-none-macosx_10_12_x86_64.whl
Size 2.4 MB
Tags Python 3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
334fe654bdcc2ccd69b0a128bfa0a93a18c5cc4109126c4a824f581841707522
BLAKE2b-256 checksum
How to use checksums
78951d0770bf4b8fe3e841c83d9d7fa47da46f4587d25d54957fae21c6b08372
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 15, 2026.

Transparency log

Release history Release notifications | RSS feed

2.0.1

3 release files

This release

2.0.0 This release

3 release files

1.0.0

3 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page