Logseq CLI
Verified IntegrationClient Configuration
— Connect Logseq CLI to Claude Desktop or Cursor in seconds{
"mcpServers": {
"logseq-cli": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-logseq-cli"
],
"env": {}
}
}
}~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows).System Overview
Integrates Logseq with the command line via its local HTTP API, enabling Unix-composable workflows for humans and AI agents.
7/23/2026
Open Source
stdio / SSE RPC
Frequently Asked Questions
Architecture and operational details for Logseq CLI
Logseq CLI primarily outputs structured NDJSON, making it ideal for piping into tools like `jq`. It also offers a `--plain` mode for human-readable key:value pairs for interactive use, and a `--fields` option to trim output to specific keys, which is beneficial for LLM agents.
Related MCP Servers
Browse all servers →Empower AI assistants to generate and convert documents, manage templates, and automate document workflows efficiently.
Provides a multi-tenant, AI-native Content Delivery Network deployable on Cloudflare, featuring sub-100ms TTFB, AI agent controllability, and comprehensive accessibility.
Deploy a Model Context Protocol server on Cloudflare Workers without requiring authentication.