MCP Server for interacting with LogSeq graph
Connect Logseq MCP Tools to Claude, Cursor or any other MCP client and it stops being a tab you switch to. MCP Server for interacting with LogSeq graph. The logseq mcp tools mcp server is what makes that connection.
This project provides a set of Model Context Protocol (MCP) tools that enable AI agents to interact with your local Logseq instance.
The toolset is worth reading before you wire it up, because it tells you what the integration is really for:
Pages — The Pages tool exposed by this serverBlocks — The Blocks tool exposed by this serverConfiguration is passed through the environment: LOGSEQ_API_URL, LOGSEQ_TOKEN. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.
Installation goes through your MCP client rather than a global install: point it at logseq-mcp on PyPI and it is fetched when the client starts. The copy-paste blocks for Claude Desktop, Claude Code and Cursor are further down this page.
This sits in the developer tooling group, where several servers overlap in what they claim to do but differ sharply once you actually set them up. Logseq MCP Tools's toolset — Pages, Blocks — is a fair guide to whether it matches your workflow. It is maintained by apw124; worth a glance at recent repository activity before you build anything load-bearing on it.
This entry was verified against Logseq MCP Tools's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.
| Tool | What it does |
|---|---|
| Pages | The Pages tool exposed by this server. |
| Blocks | The Blocks tool exposed by this server. |
{
"mcpServers": {
"logseq-mcp-apw124": {
"command": "uvx",
"args": ["logseq-mcp"],
"env": {
"LOGSEQ_API_URL": "your-value",
"LOGSEQ_TOKEN": "your-value"
}
}
}
}Add to claude_desktop_config.json, then restart Claude Desktop.
| Variable | Description | Required |
|---|---|---|
| LOGSEQ_API_URL | Endpoint or connection string the server talks to. | Yes |
| LOGSEQ_TOKEN | Credential the server authenticates with. | Yes |
Kill hallucinated APIs — version-accurate, up-to-date library documentation injected straight into context.
Microsoft's official browser automation server — drive a real browser through the accessibility tree, no screenshots needed.
GitHub's official server — repos, issues, pull requests, Actions and code security, straight from your assistant.
Issue tracking at the speed of conversation — Linear's official hosted server with OAuth and zero install.
Local repository surgery — status, diffs, commits, branches and history for any repo on disk.
Timezone sanity for AI — current time anywhere and correct conversions, without the model doing date math.