Skip to main content
Glama
Joplin MCP Server

Joplin MCP Server

by dweigend

📝 Joplin MCP サーバー

Joplin用のモデルコンテキストプロトコル(MCP)サーバー。モデルコンテキストプロトコルを介してノートへのアクセスを可能にします。ClaudeのようなAIアシスタントとの統合に最適です。

✨ 特徴

  • 🔍ノートの検索:すべてのノートを全文検索

  • 📖ノートを読む:個々のノートを取得する

  • ✏️ノートの編集: 新しいノートを作成し、既存のノートを更新します

  • 🗑️メモの削除:メモをゴミ箱に移動するか、完全に削除します

  • 📥 Markdownインポート:Markdownファイルをノートとしてインポート

  • 🤖 AI統合:Claudeやその他のMCP対応AIアシスタントとのシームレスな統合

Related MCP server: Obsidian MCP

🚀 インストール

前提条件

  • Python 3.10以上

  • Web クリッパー サービスが有効になっているJoplin Desktop

  • uv (Python パッケージ マネージャー)

# Clone repository
git clone https://github.com/dweigend/joplin-mcp.git
cd joplin-mcp

# Create and activate virtual environment
uv venv
source .venv/bin/activate  # On Windows: .venv\Scripts\activate

# Install dependencies
```bash
uv pip install -e .

⚙️ 構成

Joplin APIトークン

  1. Joplinデスクトップを開く

  2. ツール -> オプション -> Webクリッパーに移動します

  3. Webクリッパーサービスを有効にする

  4. APIトークンをコピーする

プロジェクト ディレクトリに.envファイルを作成します。

JOPLIN_TOKEN=your_api_token_here

クロードデスクトップセットアップ

  1. Claude Desktopをインストールする

    • Claude Desktopをダウンロード

    • 最新バージョンであることを確認してください (メニュー: Claude -> 更新の確認...)

  2. MCPサーバーを構成する

    {
      "mcpServers": {
        "joplin": {
          "command": "/PATH/TO/UV/uv",
          "args": [
            "--directory",
            "/PATH/TO/YOUR/PROJECT/joplin_mcp",
            "run",
            "src/mcp/joplin_mcp.py"
          ]
        }
      }
    }
    • /PATH/TO/UV/uv UVインストールの絶対パスに置き換えます。

      • パスを見つける: which uv

      • macOSの例: /Users/username/.local/bin/uv

      • Windows の例: C:\Users\username\AppData\Local\Microsoft\WindowsApps\uv.exe

    • /PATH/TO/YOUR/PROJECT/joplin_mcpプロジェクトの絶対パスに置き換えます。

    重要: Claude Desktop はシェル環境変数にアクセスできないため、 uvへのフルパスが必要です。

🛠️ 利用可能なツール

検索ノート

Joplin でノートを検索します。

パラメータ:

  • query (文字列): 検索クエリ

  • limit (int, オプション): 結果の最大数 (デフォルト: 100)

メモを取得する

ID で特定のメモを取得します。

パラメータ:

  • note_id (文字列): ノートのID

ノートを作成

新しいメモを作成します。

パラメータ:

  • title (文字列): ノートのタイトル

  • body (文字列、オプション): Markdown でのメモ内容

  • parent_id (文字列、オプション): 親フォルダのID

  • is_todo (ブール値、オプション): これがToDo項目であるかどうか

更新ノート

既存のメモを更新します。

パラメータ:

  • note_id (文字列): 更新するノートのID

  • title (文字列、オプション): 新しいタイトル

  • body (文字列、オプション): 新しいコンテンツ

  • parent_id (文字列、オプション): 新しい親フォルダID

  • is_todo (ブール値、オプション): 新しいToDoステータス

削除メモ

メモを削除します。

パラメータ:

  • note_id (文字列): 削除するノートのID

  • permanent (ブール値、オプション):trueの場合、メモを完全に削除します

インポートマークダウン

マークダウン ファイルを新しいノートとしてインポートします。

パラメータ:

  • file_path (文字列): マークダウンファイルへのパス

🧪 開発

デバッグモード

サーバーをデバッグ モードで起動するには:

MCP_LOG_LEVEL=debug mcp dev src/mcp/joplin_mcp.py

これにより、http://localhost:5173で MCP Inspector が起動し、ツールをテストできるようになります。

📄 ライセンス

MITライセンス- 著作権 (c) 2025 David Weigend

👤 著者

デビッド・ワイゲンド

🤝 貢献する

貢献、問題、機能のリクエストを歓迎します。問題ページにアクセスしてください。

Available Tools

6 tools
create_noteA

Create a new note in Joplin.

Args:
    args: Note creation parameters
        title: Note title
        body: Note content in Markdown (optional)
        parent_id: ID of parent folder (optional)
        is_todo: Whether this is a todo item (optional)

Returns:
    Dictionary containing the created note data

Inputs: args (required).

delete_noteB

Delete a note from Joplin.

Args:
    note_id: ID of note to delete
    permanent: If True, permanently delete the note

Returns:
    Dictionary containing the operation status

Inputs: note_id (required), permanent.

get_noteC

Get a specific note by ID.

Args:
    note_id: ID of the note to retrieve

Returns:
    Dictionary containing the note data

Inputs: note_id (required).

import_markdownC

Import a markdown file as a new note.

Args:
    args: Import parameters
        file_path: Path to the markdown file

Returns:
    Dictionary containing the created note data

Inputs: args (required).

search_notesC

Search for notes in Joplin.

Args:
    args: Search parameters
        query: Search query string
        limit: Maximum number of results (default: 100)

Returns:
    Dictionary containing search results

Inputs: args (required).

update_noteB

Update an existing note in Joplin.

Args:
    args: Note update parameters
        note_id: ID of note to update
        title: New title (optional)
        body: New content (optional)
        parent_id: New parent folder ID (optional)
        is_todo: New todo status (optional)

Returns:
    Dictionary containing the updated note data

Inputs: args (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.6/5.0

    Scored across 6 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose with no overlap: create_note, delete_note, get_note, update_note, search_notes, and import_markdown all target specific operations on notes. An agent can easily distinguish between creation, retrieval, modification, deletion, searching, and importing functions without confusion.

    Naming Consistency5/5

    All tools follow a consistent verb_noun pattern with snake_case naming: create_note, delete_note, get_note, update_note, search_notes, and import_markdown. The pattern is predictable throughout, making the tool set easy to navigate and understand.

    Tool Count5/5

    With 6 tools, the server is well-scoped for note management in Joplin. Each tool earns its place by covering essential CRUD operations (create, read, update, delete), plus useful extras like search and import, without being overly sparse or bloated.

    Completeness5/5

    The tool set provides complete CRUD and lifecycle coverage for notes in Joplin, including create, read, update, delete, search, and import functionalities. There are no obvious gaps, and agents can perform all core note-related workflows without dead ends.

    Maintenance

    ActivityNo data
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      A Model Context Protocol server that enables semantic search and retrieval of Apple Notes content, allowing AI assistants to access, search, and create notes using on-device embeddings.
      2
      MIT
    • A
      license
      B
      quality
      F
      maintenance
      A Model Context Protocol server that enables AI assistants to read, write, and manipulate notes in your Obsidian vault through a standardized interface.
      5
      4
      ISC
    • F
      license
      Not graded
      quality
      D
      maintenance
      A Model Context Protocol server that allows AI assistants like Claude to interact with Evernote, enabling them to create, search, read, and manage notes through natural language.
      4
      -
    • F
      license
      Not graded
      quality
      B
      maintenance
      MCP server that provides standardized tools for querying and retrieving notes from Joplin personal knowledge manager through its API, enabling AI assistants to access and reference personal notes contextually.
      9
      -