LogSeq Integration
STDIOMCP server to interact with LogSeq via its API.
MCP server to interact with LogSeq via its API.
MCP server to interact with LogSeq via its API.
The server implements multiple tools to interact with LogSeq:
It's good to first instruct Claude to use LogSeq. Then it will always call the tool.
Example prompts:
You can configure the environment with LogSeq API settings in two ways:
{ "mcp-logseq": { "command": "uvx", "args": [ "mcp-logseq" ], "env": { "LOGSEQ_API_TOKEN": "<your_api_token_here>", "LOGSEQ_API_URL": "http://localhost:12315" } } }
.env
file in the working directory with the required variables:LOGSEQ_API_TOKEN=your_token_here
LOGSEQ_API_URL=http://localhost:12315
To prepare the package for distribution:
uv sync
Since MCP servers run over stdio, debugging can be challenging. For the best debugging experience, we recommend using the MCP Inspector.
You can launch the MCP Inspector via npm
with:
npx @modelcontextprotocol/inspector uv --directory /path/to/mcp-logseq run mcp-logseq