# logseq-cli MCP server

> Provides a Unix-composable CLI to interact with the Logseq local HTTP API for managing pages, blocks, and running Datalog queries.

- Repository: https://github.com/wolf-jonathan/logseq-cli
- Page: https://hostedmcp.org/servers/wolf-jonathan/logseq-cli
- Transport: —
- Stars: 13
- License: MIT

## FAQ

### How do I install logseq-cli?

The recommended method is using pipx: `pipx install logseq-cli`. You can also install it via pip or from a local checkout.

### How do I configure the API token?

Run the command `logseq auth set-token` and follow the prompts to securely store your token in the CLI config.
