Control and interact with a local Logseq graph for knowledge management and note-taking.
A powerful Model Context Protocol (MCP) server that provides complete control over Logseq from Claude Desktop.
Clone the repository:
git clone https://github.com/griederer/logseq-mcp-tools.git
cd logseq-mcp-tools
Install dependencies:
npm install
Configure Claude Desktop:
Add to ~/Library/Application Support/Claude/claude_desktop_config.json
:
{
"mcpServers": {
"logseq": {
"command": "npx",
"args": [
"tsx",
"/path/to/logseq-mcp-tools/index-complete-v4-fixed.ts"
]
}
}
}
Update Logseq path in the script (line 17-23) to point to your Logseq graph directory.
Restart Claude Desktop and start using Logseq functions!
get_system_info
- Complete system informationlist_pages(filter?)
- List all pages with optional filterread_page(pageName)
- Read complete page contentcreate_page(pageName, content?)
- Create new pageupdate_page(pageName, content)
- Update page contentdelete_page(pageName)
- Delete page completelylist_blocks(pageName)
- List all blocks in a pageget_block(blockUuid)
- Get specific block by UUIDinsert_block(pageName, content, todo?, priority?)
- Insert new blockupdate_block(blockUuid, content)
- Update block contentdelete_block(blockUuid)
- Delete specific blockget_todos
- Get all TODOs organized by statusget_today_journal
- Get today's journalget_journal_by_date(date)
- Get journal for specific datecreate_journal_page(date?)
- Create journal pagesearch(query)
- Global search across all contentget_page_properties(pageName)
- Get page propertiesset_page_property(pageName, propertyName, propertyValue)
- Set propertyget_config
- Get Logseq configurationexport_graph
- Export entire graph as JSON// Create a new page
create_page("My Project", "This is my new project page")
// Add a block with TODO
insert_block("My Project", "Complete the documentation", "TODO", "A")
// Search for content
search("documentation")
// Create a journal entry
create_journal_page("2025-01-15")
// Get all TODOs organized by status
get_todos()
// Update a TODO status by editing the block
update_block("abc12345", "DONE Complete the documentation")
// Set page properties
set_page_property("My Project", "status", "active")
set_page_property("My Project", "tags", "project, documentation")
// Get properties
get_page_properties("My Project")
index-complete-v4-fixed.ts
- Main MCP server (latest version)MCP_V4_FUNCTIONS.md
- Complete function documentationdocs/
- Additional documentationlogseq/
- Logseq source code (forked)"Logseq directory not found"
POSSIBLE_LOGSEQ_PATHS
in the script with your Logseq graph path"Tool not found" errors
claude_desktop_config.json
Parameter errors
Set NODE_ENV=development
to enable detailed logging.
git checkout -b feature/amazing-feature
)git commit -m 'Add amazing feature'
)git push origin feature/amazing-feature
)This project is licensed under the MIT License - see the LICENSE file for details.
🚀 Transform your Logseq experience with complete programmatic control through Claude!
Interact with the accounting data in your business using our official MCP server
Tools for PostHog analytics, annotations, and project management.
MCP server for the Computer-Use Agent (CUA), allowing you to run CUA through Claude Desktop or other MCP clients.
Manages configurations for MCP clients, automatically detecting file paths based on OS and client.
MCP server for seamless document format conversion using Pandoc, supporting Markdown, HTML, and plain text, with other formats like PDF, csv and docx in development.
A server for integrating Jira with Claude, enabling project and issue management. Requires configuration via environment variables.
Provides the current UTC time from multiple verified sources.
A Model Context Protocol server for integrating HackMD's note-taking platform with AI assistants.
Access and manage Apple Notes on macOS via AppleScript.
Upload videos to YouTube using OAuth2 authentication. Requires a Google OAuth 2.0 client secret file.