MCPVault

datascript_query

MCP tool from Logseq MCP by dailydaniel

run a raw Datalog query (query, inputs?, rules?).

How to use it

datascript_query is exposed by the Logseq MCP MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the datascript_query tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.

Install Logseq MCP

$claude mcp add logseq --scope user --env LOGSEQ_API_TOKEN=<YOUR_TOKEN> -- uvx mcp-server-logseq
FULL LOGSEQ MCP LISTING