Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

connecting-to-logseq

Skill by aiskillstore

Manages connections between an AI assistant and Logseq graphs through the HTTP API, the @logseq/cli tool, or an MCP server. It is for Logseq users who need help with API tokens, graph paths, setup, and connection troubleshooting.

  • Score 61
  • 505 stars
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install connecting-to-logseq

Built from the published package, never by AI.

git clone --depth 1 https://github.com/aiskillstore/marketplace /tmp/marketplace && mkdir -p ~/.claude/skills && cp -r /tmp/marketplace/skills/c0ntr0lledcha0s/connecting-to-logseq ~/.claude/skills/connecting-to-logseq

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install connecting-to-logseq in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

The connecting-to-logseq skill sets up and troubleshoots connections between an AI assistant and a Logseq graph. It covers three backends: the Logseq HTTP API, the @logseq/cli command line tool, and a custom MCP server included in the plugin. The skill explains how to enable the HTTP API in Logseq, set an API token in the LOGSEQ_API_TOKEN environment variable, and create a configuration file at .claude/logseq-expert/env.json.

It also points to scripts for backend detection, environment setup, connection testing, and preflight checks, and lists steps for common errors such as failed connections and authentication problems. It is aimed at Logseq users who want Claude to read or write their graph. The security notes advise against committing tokens and state that the HTTP API listens only on localhost by default.

Written from the project's SKILL.md and checked against it.

What it can do

  • Backend detectionRuns detect-backend.py to find which Logseq backends are available.
  • Environment setupProvides init-environment.py, an interactive setup wizard, or the /logseq:init command.
  • Connection testingOffers test-connection.py and preflight-checks.sh to check connectivity and the environment.
  • HTTP API accessSends method calls such as logseq.Editor.getPage to the local Logseq HTTP API on port 12315.
  • CLI queriesRuns Datalog queries against a local graph with @logseq/cli, with or without Logseq running.
  • MCP serverIncludes a custom MCP server at servers/logseq-mcp that exposes Logseq operations as Claude tools.
  • Troubleshooting guideLists steps for connection, authentication, CLI not found, and MCP server errors.

What you need

  • Logseq desktop app with Developer mode and HTTP APIs server enabled
  • Logseq authorization token
  • Node.js 18 or later for the MCP server
  • npm for installing @logseq/cli
  • Python to run the setup scripts

Try asking

  • Help me connect Claude to my Logseq graph using an API token.
  • Check whether my Logseq HTTP API connection is working.
  • Detect which Logseq backends are available on my machine.

Good to know

  • The CLI backend has limited write support.
  • The HTTP API and MCP server require Logseq to be running.
  • The HTTP API only listens on localhost by default.

Security check

B
  • Allowed to use Write, Edit, Bash without limitsIn SKILL.md

Checked automatically: skills/c0ntr0lledcha0s/connecting-to-logseq/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

Allowed tools: ReadWriteEditBashGrepGlob

Alternatives to connecting-to-logseq

All alternatives →

Compare with agentmemory-config, understand-knowledge or reports

connecting-to-logseq: common questions

Does this skill need Logseq to be running?

The HTTP API and MCP server backends require Logseq to be running with the HTTP API enabled. The CLI backend works without Logseq running, though the source says it has limited write support.

Where should the Logseq API token be stored?

The source recommends environment variables and says never to commit tokens to version control. The config file supports ${VAR} syntax to read the token from an environment variable.

What port does the Logseq HTTP API use?

The default URL is http://127.0.0.1:12315/api. The source says to check Settings under Advanced if the port differs.

How do I install connecting-to-logseq?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is connecting-to-logseq free?

The code is public, but no licence file was found, so check the repository before commercial use.

Is connecting-to-logseq safe to use?

It scores 61 of 100. Grades: maintenance A, licence F, quality A. Security check: grade B (allowed to use write, edit, bash without limits). Review the code before you install. How grades work.

What are alternatives to connecting-to-logseq?

Similar skills: agentmemory-config, understand-knowledge, reports, forget.

connecting-to-logseq Install

Add to stack

Loading.