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.1.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.1.0
File Interpreter ABI Platform Actions
logseq_mcp_server-2.1.0-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 for logseq_mcp_server-2.1.0-py3-none-manylinux_2_17_x86_64.musllinux_1_2_x86_64.whl
logseq_mcp_server-2.1.0-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details for logseq_mcp_server-2.1.0-py3-none-macosx_11_0_arm64.whl
logseq_mcp_server-2.1.0-py3-none-macosx_10_12_x86_64.whl Python 3 none macOS 10.12+ x86-64 Details for logseq_mcp_server-2.1.0-py3-none-macosx_10_12_x86_64.whl

Total release size: 7.3 MB

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

Download URL logseq_mcp_server-2.1.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
bffedd3bc92509b290f2b22ef2a30fc8a9be28a0984be93e71b66e034df93328
BLAKE2b-256 checksum
How to use checksums
8c2ed0c353946e8dbed1a4dcbeecd2569f364bc6c7a48765a944a89871821f25
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 16, 2026.

Transparency log

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

Download URL logseq_mcp_server-2.1.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
97ed260e5bb19ca3b01a941e1f55d950c70b4440bead818cc7f21d53d942ae11
BLAKE2b-256 checksum
How to use checksums
cf3d909bf4329d1c19cd8250ab1d6d1a95319c3ddb8ac9ade0b5ec032f030062
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 16, 2026.

Transparency log

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

Download URL logseq_mcp_server-2.1.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
ef5aecac0626c580e428c1b9e12e5a51cc40ff05088b062f2b0f5bacd7afadda
BLAKE2b-256 checksum
How to use checksums
d4e9f4705812fad5c201fdb50e183d046486c46201e49bf5bd6265170f206d4a
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 16, 2026.

Transparency log

Security for logseq-mcp-server 2.1.0

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.

Full provenance

All 3 files in this release have been uploaded with provenance metadata.

Select from 3 files

Attestation for logseq_mcp_server-2.1.0-py3-none-manylinux_2_17_x86_64.musllinux_1_2_x86_64.whl

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 16, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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