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.1

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.1
File Interpreter ABI Platform
logseq_mcp_server-2.0.1-py3-none-manylinux_2_17_x86_64.musllinux_1_2_x86_64.whl Python 3 none Linux glibc 2.17+ x86-64, Linux musl 1.2+ x86-64 Details
logseq_mcp_server-2.0.1-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details
logseq_mcp_server-2.0.1-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.1-py3-none-manylinux_2_17_x86_64.musllinux_1_2_x86_64.whl

Download URL logseq_mcp_server-2.0.1-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
c4e0b48006c5836b583be1408c680dbcef5d82364b41d33d5354857307cde480
BLAKE2b-256 checksum
How to use checksums
20c1f764f24f52ba4247e767af115e7b9763f66734e67c8b709c8fb37b262172
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.1-py3-none-macosx_11_0_arm64.whl

Download URL logseq_mcp_server-2.0.1-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
ede622d167e2174757527d18f103d2c42b3aef0d9d2a923d106c32bdca4cf7f8
BLAKE2b-256 checksum
How to use checksums
599b758b1f52429813ea18c33bf1ee2ba6d27736264ebc9efc47ff7478958def
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.1-py3-none-macosx_10_12_x86_64.whl

Download URL logseq_mcp_server-2.0.1-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
233e52c68b84fe73e9d9d667c0af603e3a3ebe2602b0f98f8a1caf66700007da
BLAKE2b-256 checksum
How to use checksums
8a91eca4f4862d320b2c865754f9b6fb217f0b7fcad48b62b4920364171575ec
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

This release

2.0.1 This release

3 release files

2.0.0

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