Overview
Logseq MCP Agent lets AI assistants like Claude directly interact with your Logseq knowledge graph. Search your notes, create content, organize information, and manage tasks - all through natural conversation.
Think of it as giving Claude direct access to your second brain.
Features
Knowledge Management
- Search your entire graph for information
- Generate summaries of pages and content
- Create daily notes with custom sections
- Organize flat pages into nested structures
Task Management
- Find all tasks with specific statuses (TODO, DOING, etc.)
- Extract tasks from meeting notes
- Create and organize task lists
- Track task progress
Search & Query
- Natural language search across your graph
- Find blocks by content
- Run advanced Datalog queries
Content Organization
- Restructure content hierarchically
- Organize blocks by any criteria
- Transform flat content into nested structures
Example Usage
Ask Claude:
- “Find all my TODO tasks in Logseq”
- “Create a daily note with sections for Tasks, Notes, and Journal”
- “Summarize my ‘Research’ page”
- “Search my notes for information about machine learning”
Installation
Enable Logseq HTTP API, then add to Claude Desktop config:
json
{
"mcpServers": {
"logseq": {
"command": "npx",
"args": ["logseq-mcp"],
"env": {
"LOGSEQ_TOKEN": "your_logseq_token"
}
}
}
}Technology Stack
- TypeScript MCP server
- Logseq HTTP API integration
- Cross-platform binaries available
- npm/bunx distribution