What are the runtime dependencies?
Python 3.11 or higher and the `uv` package installer. The Logseq desktop app must be running with its HTTP API server enabled.
@gustavo-meilus
基本信息
A MCP server that uses Logseq API to extract and interact with Logseq notes.
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"logseq-api-mcp": {
"command": "uv",
"args": [
"sync"
]
}
}
}工具列表暂未提供
当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
The Logseq API MCP Server bridges AI assistants (like Claude Desktop) with your local Logseq knowledge graph by exposing 21 MCP tools for reading, writing, querying, and searching notes. It is built for anyone who wants their AI to directly access and modify their Logseq graph — with optional privacy controls and automatic tool registration when you drop a Python file into src/tools/.
Clone the repository, run uv sync, copy .env.template to .env, and set LOGSEQ_API_ENDPOINT (default http://127.0.0.1:12315/api) and LOGSEQ_API_TOKEN (obtain from Logseq Settings → Features → Developer mode). Then add the server to your Claude Desktop config (~/.claude/claude_desktop_config.json) with uv run --directory /path/to/logseq-api-mcp python src/server.py. Restart Claude Desktop; all 21 tools become available.
src/tools/ — no registration neededLOGSEQ_EXCLUDE_TAGS are hidden from all read operationsLOGSEQ_DB_MODE=true to enable database‑format API paths and Datalog‑powered queriesPython 3.11 or higher and the `uv` package installer. The Logseq desktop app must be running with its HTTP API server enabled.
All data stays on your local Logseq instance. The MCP server connects to Logseq’s own HTTP API (`http://127.0.0.1:12315/api` by default) and never sends your graph to an external service.
Set `LOGSEQ_EXCLUDE_TAGS` to a comma‑separated list of tags. Any page carrying one of those tags is hidden from all read operations (listing, search, query, backlinks, content retrieval). The filter applies at query time and takes effect immediately when the variable changes.
Logseq’s newer database format stores the graph in SQLite rather than markdown files. Set `LOGSEQ_DB_MODE=true` to enable tools like `set_block_properties` and Datalog‑powered queries. Tools that don’t apply in DB‑mode return a clear error message.
Create a Python file in `src/tools/` following the `_run(client, config, ...)` pattern. No imports, registration, or config changes are needed — the discovery system picks it up automatically on the next server start. Function names starting with `_` are not registered.

Search published GPU deployment, rack integration and structured cabling resources; read canonical documents and Leviathan Systems company service scope. Anonymous, read-only Streamable HTTP MCP. No credentials required.
Local MCP server and CLI that keeps a Git-versioned, model-written index of a codebase and its database schema, so coding agents start each task with the whole system in view.

Search saved employee handbooks from your AI assistant. Four read-only tools list authorized handbooks, browse policies, search content, and read source pages with citation links. Uses scoped bearer tokens and Streamable
Context7 Platform -- Up-to-date code documentation for LLMs and AI code editors

Shared memory for AI coding agents. Claude Code, Cursor and Codex read your project's decisions, lessons and tasks before they act.
评论