mcp logseq server
Interacts with [LogSeq](https://logseq.com/) via its API.
Interacts with [LogSeq](https://logseq.com/) 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: - Get the contents of my latest meeting notes and summarize them - Search for all pages where Project X is mentioned and explain the context - Create a new page with today's meeting notes - Update the project status page with the latest updates
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 syncSince 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