Logseq MCP Tools
@apw124
Logseq MCP Tools について
MCP Server for interacting with LogSeq graph
基本情報
設定
以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。
{
"mcpServers": {
"logseq": {
"command": "uvx",
"args": [
"logseq-mcp"
],
"env": {
"LOGSEQ_API_URL": "",
"LOGSEQ_TOKEN": ""
}
}
}
}ツール
ツールは検出されませんでした
ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。
概要
What is Logseq MCP Tools?
Logseq MCP Tools is a set of Model Context Protocol (MCP) tools that enable AI agents to interact with a local Logseq instance. It is designed for users who want to automate tasks in their Logseq graph via AI assistants like Cursor or Claude.
How to use Logseq MCP Tools?
Install Python 3.11+, clone the repository, and run pip install -e .. Enable Logseq’s Developer mode and API, set an API token in Logseq’s Advanced settings, then configure the MCP server in your Cursor MCP configuration (~/.cursor/mcp.json) or via claude mcp add with the environment variables LOGSEQ_API_URL and LOGSEQ_TOKEN. All tools are available under the logseq namespace.
Key features of Logseq MCP Tools
- Manage pages: get all, get, create, delete
- Manage blocks: get, create, insert, update, move, remove, search
- Works with journal pages using proper date format
- All tools exposed under the
logseqnamespace - Integrates with Cursor and Claude via MCP protocol
Use cases of Logseq MCP Tools
- Create a new page with bullet points for a meeting agenda
- Add today’s tasks to your journal page
- Update a journal entry with project links and child blocks
- Search the graph for blocks about a topic and organize them on a new page
FAQ from Logseq MCP Tools
What prerequisites are needed?
Python 3.11+ and a local Logseq instance with Developer mode enabled, Developer Plugin turned on, and an API token set in Advanced settings.
How do I configure the MCP server?
Set the environment variables LOGSEQ_API_URL (default http://localhost:12315) and LOGSEQ_TOKEN in either your Cursor mcp.json config or when adding the server via claude mcp add.
What tools does Logseq MCP Tools provide?
Page tools: logseq.get_all_pages, logseq.get_page, logseq.create_page, logseq.delete_page. Block tools: logseq.get_page_blocks, logseq.get_block, logseq.create_block, logseq.insert_block, logseq.update_block, logseq.move_block, logseq.remove_block, logseq.search_blocks.
How do journal pages work?
Use the format “mmm dth, yyyy” (e.g., “Apr 4th, 2025”) when creating or accessing journal pages. Logseq automatically sets the journal? and journalDay attributes.
What data transport and authentication does Logseq MCP Tools use?
The server communicates with the local Logseq HTTP API using stdio transport and requires an API token for authentication.
「メモリとナレッジ」の他のコンテンツ
Context Portal MCP (ConPort)
GreatScottyMacContext Portal (ConPort): A memory bank MCP server building a project-specific knowledge graph to supercharge AI assistants. Enables powerful Retrieval Augmented Generation (RAG) for context-aware development in your IDE.
Anytype MCP Server
anyprotoAn MCP server enabling AI assistants to interact with Anytype - your encrypted, local and collaborative wiki - to organize objects, lists, and more through natural language.
Basic Memory
basicmachines-coAI conversations that actually remember. Never re-explain your project to your AI again. Join our Discord: https://discord.gg/tyvKNccgqN
Notion MCP Integration
danhilseA simple MCP integration that allows Claude to read and manage a personal Notion todo list
Ultimate Google Docs & Drive MCP Server
a-bonusThe Ultimate Google Docs, Sheets, Drive, Gmail, & Google Calendar MCP Server. This MCP (primarily for use in Claude Desktop) gains full access to your google suite and lets claude do its thing.
コメント