
mcp-logseq-server
MCP server to interact with LogSeq via its Local HTTP API - enabling AI assistants like Claude to seamlessly read, write, and manage your LogSeq graph.
3 years
Works with Finder
2
Github Watches
7
Github Forks
48
Github Stars
MCP server for LogSeq
MCP server to interact with LogSeq via its API.
Components
Tools
The server implements multiple tools to interact with LogSeq:
- list_graphs: Lists all available graphs
- list_pages: Lists all pages in the current graph
- get_page_content: Return the content of a single page
- search: Search for content across all pages
- create_page: Create a new page
- update_page: Update content of an existing page
- delete_page: Delete a page
Example prompts
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
Configuration
LogSeq API Configuration
You can configure the environment with LogSeq API settings in two ways:
- Add to server config (preferred)
{
"mcp-logseq": {
"command": "uvx",
"args": [
"mcp-logseq"
],
"env": {
"LOGSEQ_API_TOKEN": "<your_api_token_here>",
"LOGSEQ_API_URL": "http://localhost:12315"
}
}
}
- Create a
.env
file in the working directory with the required variables:
LOGSEQ_API_TOKEN=your_token_here
LOGSEQ_API_URL=http://localhost:12315
Development
Building
To prepare the package for distribution:
- Sync dependencies and update lockfile:
uv sync
Debugging
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
相关推荐
I find academic articles and books for research and literature reviews.
Converts Figma frames into front-end code for various mobile frameworks.
Confidential guide on numerology and astrology, based of GG33 Public information
Embark on a thrilling diplomatic quest across a galaxy on the brink of war. Navigate complex politics and alien cultures to forge peace and avert catastrophe in this immersive interstellar adventure.
Advanced software engineer GPT that excels through nailing the basics.
Delivers concise Python code and interprets non-English comments
💬 MaxKB is a ready-to-use AI chatbot that integrates Retrieval-Augmented Generation (RAG) pipelines, supports robust workflows, and provides advanced MCP tool-use capabilities.
Micropython I2C-based manipulation of the MCP series GPIO expander, derived from Adafruit_MCP230xx
The all-in-one Desktop & Docker AI application with built-in RAG, AI agents, No-code agent builder, MCP compatibility, and more.
MCP server to provide Figma layout information to AI coding agents like Cursor
Python code to use the MCP3008 analog to digital converter with a Raspberry Pi or BeagleBone black.
Reviews

user_05rf24vJ
As an avid user of the mcp ecosystem, I highly recommend checking out the mcp-logseq-server. Developed by ergut, this tool seamlessly integrates Logseq with server capabilities, enhancing productivity and collaboration. Built with robust features and user-friendly interface, it's a game changer for managing notes and projects. For more details, visit the provided GitHub link.