MCP server for LogSeq
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.
Overview
MCP LogSeq Server is a server designed to interact with LogSeq via its Local HTTP API, enabling AI assistants like Claude to read, write, and manage your LogSeq graph seamlessly.
To use the MCP LogSeq Server, configure it with your LogSeq API settings and utilize various tools to interact with your LogSeq graphs through prompts.
- List available graphs and pages in LogSeq - Retrieve content from specific pages - Search for content across all pages - Create, update, and delete pages in LogSeq
- Summarizing meeting notes from LogSeq
- Searching for project mentions and providing context
- Creating new pages for documentation or notes
- Updating project status pages with the latest information
Add to your AI client
Use these steps to connect MCP server for LogSeq in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"mcp-logseq-server-ergut": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-logseq-server-ergut"
]
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"mcp-logseq-server-ergut": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-logseq-server-ergut"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"mcp-logseq-server-ergut": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-logseq-server-ergut"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"mcp-logseq-server-ergut": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-logseq-server-ergut"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"mcp-logseq-server-ergut": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-logseq-server-ergut"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"mcp-logseq-server-ergut": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-logseq-server-ergut"
]
}
}
}FAQ
What is required to configure the MCP LogSeq Server?
You need to provide your LogSeq API token and URL in the server configuration.
Can I use this server with any AI assistant?
Yes, it is designed to work with AI assistants that can interact with HTTP APIs.
How do I debug the MCP LogSeq Server?
For debugging, it is recommended to use the MCP Inspector for a better experience.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":782,"uuid":"b7242036-586c-4d81-a925-86488d5b98e7","name":"mcp-logseq-server","title":"MCP server for LogSeq","description":"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.","avatar_url":"https://avatars.githubusercontent.com/u/13543215?v=4","created_at":"2024-12-30T03:31:15.410Z","updated_at":"2025-02-23T07:16:03.489Z","status":"created","author_name":"ergut","author_avatar_url":"https://avatars.githubusercontent.com/u/13543215?v=4","tags":"mcp-logseq,logseq,ai-assistant","category":"developer-tools","is_featured":false,"sort":1,"url":"https://github.com/ergut/mcp-logseq-server","target":"_self","content":"$29","summary":"$2a","img_url":null,"type":null,"metadata":null,"user_uuid":null,"tools":null,"sse_url":null,"sse_provider":null,"sse_params":null,"is_official":false,"server_command":null,"server_params":null,"server_config":null,"allow_call":false,"is_innovation":false,"is_dxt":false,"dxt_manifest":null,"dxt_file_url":null,"is_audit":false},"randomProjects":[],"currentServerKey":"$undefined"}]]}]