Skip to main content
Glama

Pinboard MCP Server

by vicgarcia

I've been using Pinboard for years to save bookmarks. I've recently been working on a project to explore business operations data from Claude Desktop with an MCP server. Inspired by this, I've been experimenting with ideas for personal productivity tools to build for myself.

This MCP server implements a minimal set of tools for interacting with the pinboard api. There are tools to get/add/update bookmarks, list/rename tags, and get tag suggestions.

Once set up, you can make queries like:

  • "show me all my bookmarks from december 2023"

  • "what were the main topics i was bookmarking last month?"

  • "find bookmarks tagged with 'python' from this year"

  • "analyze my bookmarking patterns over the last few weeks"

setup

clone the repo and build the docker image

clone the repo

git clone https://github.com/vicgarcia/pinboard-mcp.git cd pinboard-mcp

build the docker image

docker build -t pinboard-mcp:local .

get your pinboard api token

go to pinboard settings and copy your api token (format: username:1234567890ABCDEF1234567890ABCDEF)

setup mcp server in claude desktop

add this to your claude desktop mcp settings:

{ "mcpServers": { "pinboard": { "command": "docker", "args": [ "run", "-i", "--rm", "-e", "PINBOARD_TOKEN=your-username:your-api-token", "pinboard-mcp:local" ] } } }

replace your-username:your-api-token with your actual pinboard token

features

get_bookmarks

retrieve bookmarks within a date range

parameters:

  • start_date (optional): start date in yyyy-mm-dd format

  • end_date (optional): end date in yyyy-mm-dd format

  • tags (optional): comma-separated tags to filter by

  • limit (optional): max bookmarks to return (default: 200, max: 500)

constraints:

  • date range cannot exceed 90 days

  • rate limited to respect pinboard's 3-second api limit

example usage in claude:

"get my bookmarks from last week with the tag 'python'"

add_bookmark

create a new bookmark

parameters:

  • url (required): web address to bookmark

  • title (required): bookmark title

  • description (optional): extended description

  • tags (optional): comma-separated tags

  • private (optional): true for private, false for public (default: false)

  • toread (optional): mark as to-read (default: false)

example usage in claude:

"bookmark https://example.com with title 'interesting article' and tags 'research, ai'"

update_bookmark

update an existing bookmark by url

parameters:

  • url (required): url of bookmark to update

  • title (optional): new title

  • description (optional): new description

  • tags (optional): new tags (replaces existing)

  • private (optional): change privacy setting

  • toread (optional): change to-read status

example usage in claude:

"update the bookmark for https://example.com to add the tag 'important'"

get_tags

retrieve all tags with usage counts

returns:

  • list of all tags sorted by usage count (descending)

  • each tag includes name and count of bookmarks using it

example usage in claude:

"show me all my tags and how often i use them"

rename_tag

rename a tag across all bookmarks

parameters:

  • old_tag (required): existing tag name to rename

  • new_tag (required): new tag name

validation:

  • both tags must be non-empty

  • tags are normalized to lowercase

  • old and new tags cannot be identical

example usage in claude:

"rename the tag 'ppython' to 'python'"

suggest_tags

get suggested tags for a url from pinboard

parameters:

  • url (required): web address to get tag suggestions for

returns:

  • popular tags: site-wide tags commonly used by others for this url

  • recommended tags: personalized suggestions based on your tagging history

  • counts for both popular and recommended tags

example usage in claude:

"suggest tags for https://example.com/article" "what tags should i use for bookmarking https://github.com/repo/project"

dev

if you want to work on this locally:

git clone https://github.com/vicgarcia/pinboard-mcp cd pinboard-mcp # install dependencies pip install -e .

project structure

src/ pinboard_mcp/ __init__.py # package marker server.py # mcp tools implementation + run() entry point pinboard.py # pinboard api client and utilities utils.py # validation helpers

building docker image

./build.sh
-
security - not tested
F
license - not found
-
quality - not tested

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

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.

  1. clone the repo and build the docker image
    1. get your pinboard api token
      1. setup mcp server in claude desktop
        1. features
          1. get_bookmarks
          2. add_bookmark
          3. update_bookmark
          4. get_tags
          5. rename_tag
          6. suggest_tags
        2. dev
          1. project structure
          2. building docker image

        MCP directory API

        We provide all the information about MCP servers via our MCP API.

        curl -X GET 'https://glama.ai/api/mcp/v1/servers/vicgarcia/pinboard-mcp'

        If you have feedback or need assistance with the MCP directory API, please join our Discord server