EM

ergut/mcp-logseq

Productivity workflow

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

346 stars 51 forks 品質 82 トレンド 28MIT

MCPサーバーはローカルHTTP APIを通じてLogSeqと連携し、ClaudeのようなAIアシスタントがLogSeqグラフの読み取り、書き込み、管理をシームレスに行えます。

概要

LogSeqのMCPサーバーでClaudeをLogSeqの知識ベースに接続してください。ページの読み取り、作成、管理が可能です。オプションでセマンティックベクトル検索とDBモードグラフのサポートも可能です。 LogSeqの知識ベースをAI駆動のワークスペースに変えましょう!このMCPサーバーにより、ClaudeはLogSeqグラフとシームレスに連携できます。 - : ClaudeはLogSeqデータと直接連携 - : コンテンツを手動でエクスポートやコピーする必要なし - : AI搭載のページ作成、リンク、検索 - : 繰り返しの知識作業を自動化 - (任意):ローカルOllamaやホストされたOpenAI互換埋め込みを使って意味でノートを検索 - (オプトイン):Logseq DBモードのグラフにクラスプロパティを読み書き 1. → → 「HTTP APIサーバーを有効にする」をチェック 2.ログインセク→ 3.: APIパネル →「Authorization tokens」→ 新しい作成 設定ファイルに追加(開発者→設定→設定編集): 設定可能な埋め込みを使ってLogseqグラフ上で意味検索を行えます — キーワードだけでなく意味でノートを見つけましょう。

概要(AI 翻訳)

LogSeq用のMCPサーバー ClaudeをLogSeqのナレッジベースに接続しましょう。ページを読み、作成し、管理できます — オプションでセマンティックベクトル検索とDBモードグラフのサポートも可能です。

✨ あなたにできること

LogSeqの知識ベースをAI駆動のワークスペースに変えましょう!このMCPサーバーにより、ClaudeはLogSeqグラフとシームレスに連携できます。

🎯 実例

** 📊 インテリジェント・ナレッジ・マネジメント**

** 📝 自動コンテンツ作成**

** 🔍 スマートリサーチ&アナリティッシュ**

** 🧠 セマンティックサーチ** (任意、ベクター設定が必要)

** 🤝 会議およびドキュメントワークフロー**

💡 主な利点

  • Zero Context Switching:ClaudeはLogSeqデータに直接対応します
  • ワークフローを保存:コンテンツを手動でエクスポートやコピーする必要はない
  • インテリジェント組織:AI搭載のページ作成、リンク、検索
  • 生産性向上:繰り返しの知識作業を自動化する
  • セマンティックベクトル検索(任意)*:ローカルOllamaまたはホストされたOpenAI互換埋め込みを用いて意味でノートを検索
  • DBモードサポート(オプトイン)*:Logseq DBモードグラフのクラスプロパティの読み書き

🚀 クイックスタート

ステップ1:LogSeq APIを有効にする

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

✨ What You Can Do

Transform your LogSeq knowledge base into an AI-powered workspace! This MCP server enables Claude to seamlessly interact with your LogSeq graphs.

🎯 Real-World Examples

📊 Intelligent Knowledge Management

"Analyze all my project notes from the past month and create a status summary"
"Find pages mentioning 'machine learning' and create a study roadmap"
"Search for incomplete tasks across all my pages"

📝 Automated Content Creation

"Create a new page called 'Today's Standup' with my meeting notes"
"Add today's progress update to my existing project timeline page"  
"Create a weekly review page from my recent notes"

🔍 Smart Research & Analysis

"Compare my notes on React vs Vue and highlight key differences"
"Find all references to 'customer feedback' and summarize themes"
"Create a knowledge map connecting related topics across pages"

🧠 Semantic Search (optional, requires vector setup)

"Find everything I wrote about burnout, even if I didn't use that word"
"What notes relate to my thoughts on deep work?"
"Search across my Dutch and English notes for ideas about productivity"

🤝 Meeting & Documentation Workflow

"Read my meeting notes and create individual task pages for each action item"
"Get my journal entries from this week and create a summary page"
"Search for 'Q4 planning' and organize all related content into a new overview page"

💡 Key Benefits

  • Zero Context Switching: Claude works directly with your LogSeq data
  • Preserve Your Workflow: No need to export or copy content manually
  • Intelligent Organization: AI-powered page creation, linking, and search
  • Enhanced Productivity: Automate repetitive knowledge work
  • Semantic Vector Search (optional): Find notes by meaning using local Ollama or hosted OpenAI-compatible embeddings
  • DB-mode Support (opt-in): Read and write class properties on Logseq DB-mode graphs

🚀 Quick Start

Step 1: Enable LogSeq API

  1. Settings → Features → Check “Enable HTTP APIs server”
  2. Click the API button (🔌) in LogSeq → “Start server”
  3. Generate API token: API panel → “Authorization tokens” → Create new

Step 2: Add to your MCP client (No Installation Required!)

Claude Code

claude mcp add mcp-logseq \
  --env LOGSEQ_API_TOKEN=your_token_here \
  --env LOGSEQ_API_URL=http://localhost:12315 \
  -- uv run --with mcp-logseq mcp-logseq

Claude Desktop

Add to your config file (Settings → Developer → Edit Config):

{
  "mcpServers": {
    "mcp-logseq": {
      "command": "uv",
      "args": ["run", "--with", "mcp-logseq", "mcp-logseq"],
GitHub で README 全文を見る

インストール

npx @modelcontextprotocol/inspector uv run --with mcp-logseq mcp-logseq
MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "mcp-logseq": { "command": "uv", "args": ["run", "--with", "mcp-logseq", "mcp-logseq"], "env": { "LOGSEQ_API_TOKEN": "your_token_here", "LOGSEQ_API_URL": "http://localhost:12315" } } } }