Skip to main content
Glama

pinboard-mcp

Claude Desktop から Pinboard にブックマークを保存するローカル MCP サーバー。

URL を伝えるだけで、Claude が日本語要約とタグを生成して Pinboard に保存する。

前提条件

  • macOS(Claude Desktop がインストールされていること)

  • Node.js 24 以降

  • pnpm 9 以降

  • Pinboard の API トークン(設定画面から取得)

Related MCP server: Hatena Blog MCP Server

セットアップ

# 依存パッケージをインストール
pnpm install

# ビルド
pnpm build

Claude Desktop への登録

~/Library/Application Support/Claude/claude_desktop_config.json の mcpServers に以下を追加する。

{
  "mcpServers": {
    "pinboard-mcp": {
      "command": "node",
      "args": ["/path/to/pinboard-mcp/dist/index.js"],
      "env": {
        "PINBOARD_TOKEN": "username:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
      }
    }
  }
}

/path/to/pinboard-mcp はこのリポジトリの絶対パスに置き換える。PINBOARD_TOKEN は username:token 形式(Pinboard 設定画面で確認できる値)をそのまま設定する。

設定を保存後、Claude Desktop を再起動する。

使い方

Claude Desktop で次のように伝えるだけでブックマークを保存できる。

https://example.com をブックマークして

Claude がページを取得・要約し、ブックマーク内容を提示してから確認を求める。「はい」と答えると Pinboard に保存される。

保存されるデータ:

項目

内容

URL

指定した URL

タイトル

<title> タグを基に Claude が整形したタイトル

要約

140 字以内の日本語要約

タグ

英小文字スラッグ形式のタグ(1〜5 個)

すべてのブックマークは非公開(shared=no)で保存される。同一 URL が既に保存済みの場合は上書き更新される。

開発

# テストを実行
pnpm test

# 型チェック・Lint・テストをまとめて実行
pnpm check

# Lint と自動整形
pnpm lint:write

技術スタック

役割

採用技術

言語

TypeScript 7

ランタイム

Node.js 24

MCP SDK

@modelcontextprotocol/sdk

バリデーション

zod

テスト

Vitest

Linter / Formatter

Biome

選定根拠は docs/spec/003_architecture.md 参照。

Available Tools

1 tool
save_bookmarkA

指定した URL を Pinboard にブックマーク保存する。【重要】このツールを呼び出す前に、必ず以下の手順を踏むこと:(1) 記事の主張・背景・具体的な手法・結論・コード例などを網羅した日本語の詳細解説をユーザーに提示する。記事を読まなくても内容を把握できるレベルの情報量を目指し、文字数は制限しない。(2)「ブックマークしますか?」と確認を取る。(3) ユーザーが承認した場合のみ呼び出す。ツールに渡す summary は Pinboard 保存用の 140 コードポイント以内に凝縮した日本語要約であり、ユーザーへの提示内容とは別物にすること。tags は英小文字スラッグ(例: typescript, web-dev)で 1〜5 個とする。

Inputs: url (required), tags (required), title (required), summary (required).

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    A4.3/5.0

    Scored across 1 tool

    Disambiguation5/5

    With only one tool, there is no possibility of confusion. save_bookmark has a single, clear purpose.

    Naming Consistency5/5

    The single tool name follows a clear verb_object convention. There are no other tools to introduce naming inconsistency.

    Tool Count3/5

    One tool is a thin but not absurd surface for a bookmarking service. It can support a narrow save-only workflow but feels limited for a full Pinboard MCP.

    Completeness2/5

    The Pinboard domain normally includes listing, updating, deleting, and searching bookmarks and tags. With only save_bookmark, users can create bookmarks but not retrieve or manage them, creating significant dead ends.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      C
      maintenance
      Enables users to access and manage their Pinboard bookmarks directly through Claude Desktop. Supports retrieving, adding, and updating bookmarks with date filtering, tagging, and bookmark analysis capabilities.
      10
      -
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables Claude and other MCP clients to manage Instapaper accounts by reading, saving, organizing, and analyzing articles through natural language. It supports comprehensive bookmark management, bulk operations, folder organization, and full-text content retrieval for research and synthesis.
      26
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      AI-powered recall over your saved bookmarks. It gives Claude semantic search, topic clusters, recent saves, and save-from-chat across the content you save from X, Reddit, LinkedIn, and the web.
      5
      1
      MIT