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

MCP logseq

MCP server by ergut Verified · gh:ergut

MCP server that lets AI assistants like Claude read, create, and manage pages in a Logseq graph through Logseq's local HTTP API. It is for Logseq users who want their assistant to work directly with their notes.

  • Score 78
  • 352 stars
  • MIT
  • Updated

Install MCP logseq

Built from the published package, never by AI.

claude mcp add mcp-logseq -- uvx mcp-logseq

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install MCP logseq in Claude Code

MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the mcp-logseq block.

About

MCP logseq connects an MCP-compatible client, such as Claude Code, Claude Desktop, Codex CLI, or OpenCode, to a Logseq knowledge base. It talks to Logseq's local HTTP API using an API token, so the assistant can list pages, read page content, create and update pages, and search the graph. It also supports block-level operations, namespace views, backlinks, and renaming with reference updates.

The server is aimed at Logseq users who want to automate knowledge work, such as summarizing notes, building meeting pages, or organizing related topics. An optional vector search setup adds semantic search using Ollama or an OpenAI-compatible embeddings endpoint. Optional privacy settings can hide or restrict pages by tag or namespace.

Written from the project's README and checked against it.

Tools it gives your assistant

  • list_pagesBrowses the graph and can find recently modified pages.
  • get_page_contentReads the content of a page.
  • create_pageAdds new pages with structured blocks from markdown.
  • update_pageModifies pages in append or replace mode.
  • searchFinds content across the graph.
  • queryRuns Logseq DSL queries. Raw datalog is not supported.
  • get_page_backlinksFinds pages that link to a given page.
  • rename_pageRenames a page and updates references.
  • insert_nested_blockInserts child or sibling blocks.
  • vector_searchSearches notes by meaning. Requires vector search setup.

What you need

  • Logseq with the HTTP APIs server enabled
  • A Logseq API token
  • uv Python package manager
  • An MCP-compatible client such as Claude Code or Claude Desktop
  • Optional: Ollama or an OpenAI-compatible embeddings endpoint for vector search

Try asking

  • Find all TODO tasks tagged #project in my Logseq graph
  • Create a new page called Today's Standup with my meeting notes
  • Find everything I wrote about deep work, even without that exact phrase

Good to know

  • Vector search tools need extra setup and are optional.
  • set_block_properties works only with Logseq DB-mode graphs.
  • Hosted embedding providers receive the note text being embedded.
  • create_page fails if a page with the same title already exists.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: README.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to MCP logseq

All alternatives →
Agent Skills Search Server agentskills
100

Searches and discovers Agent Skills from the skills.sh registry, according to its listing description. The source file itself documents the Agent Skills format rather than this server.

BAA Remote 28k
Exa exa-labs
100

Connects AI agents to Exa for web search, content fetching, and multi-step research. It is aimed at developers and AI assistant users who want web results and page content inside their assistant.

AAA Remote 5.3k
Apify apify
100

Apify MCP server gives AI agents web scraping, data extraction, and browser automation through thousands of ready-made Actors from Apify Store. It suits developers and teams who want agents to pull data from websites without installing a separate MCP server for each site.

AAA Remote 19k
changedetection.io (official) dgtlmoon
100

Official MCP server for changedetection.io that connects AI assistants such as Claude.AI and OpenAI tools to a changedetection.io dashboard. It lets users ask about tracked web page changes, including price and back-in-stock alerts.

AAA Remote 36k
brave brave
95

Brave Search MCP Server gives AI assistants web, local, place, image, video and news search through the Brave Search API. It also offers grounded Answers for developers and teams that want cited results.

AAA Remote 1.6k
Scrapling MCP ServerD4Vinci
94

Scrapling is a Python web scraping framework with an MCP server for AI agents. It offers stealth HTTP requests, browser rendering, Cloudflare Turnstile handling, and CSS selector extraction for developers and scrapers.

AAA Local 107k

Compare with Agent Skills Search Server, Exa or Apify

MCP logseq: common questions

Does MCP logseq change my notes without asking?

Write tools such as create_page, update_page, and delete_page can change pages. The source also describes optional write namespace settings that limit which pages write tools can target.

Where is the vector search data stored?

The source says LanceDB remains local in every configuration. Embeddings can come from local Ollama or from a hosted OpenAI-compatible endpoint.

Does it work with Logseq DB-mode graphs?

Yes, with an opt-in setting. The source says DB-mode property support is for Logseq DB-mode graphs in beta, and markdown graph users should leave it unset.

How do I install MCP logseq?

In Claude Code run claude mcp add mcp-logseq -- uvx mcp-logseq. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.

Is MCP logseq the official server?

MCP logseq is published by gh:ergut from its verified domain in the official MCP Registry.

Is MCP logseq free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is MCP logseq safe to use?

It scores 78 of 100. Grades: maintenance B, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to MCP logseq?

Similar MCP servers: Agent Skills Search Server, Exa, Apify, changedetection.io (official).

Does MCP logseq work with ChatGPT?

Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.

MCP logseq Install

Add to stack

Loading.