npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

goodlinks-mcp

v1.0.0

Published

MCP server connecting Claude to GoodLinks on macOS via its local REST API

Downloads

45

Readme

goodlinks-mcp

A Model Context Protocol (MCP) server that connects Claude to the GoodLinks read-later app on macOS. Ask Claude to search your reading list, summarise articles, manage tags, export highlights, and more — all from a Claude conversation.

Prerequisites

  • GoodLinks 3.2+ on macOS with the local REST API enabled
  • Node.js 18+

Enable the GoodLinks API

  1. Open GoodLinks
  2. Go to Settings → API
  3. Toggle the API on
  4. Copy the bearer token shown — you'll need it for configuration

The API listens on http://localhost:9428 by default. You can change the port in the same settings screen.

Installation

Via npx (recommended — no install needed)

Add the following to your Claude Desktop configuration file (~/Library/Application Support/Claude/claude_desktop_config.json):

{
  "mcpServers": {
    "goodlinks": {
      "command": "npx",
      "args": ["-y", "goodlinks-mcp"],
      "env": {
        "GOODLINKS_TOKEN": "your-token-here"
      }
    }
  }
}

If you use a non-default port, add "GOODLINKS_PORT": "9999" to the env block.

Restart Claude Desktop and you should see the GoodLinks tools available.

From source (local clone)

git clone https://github.com/lcajigasm/goodlinks-mcp.git
cd goodlinks-mcp
npm install
npm run build

Then configure Claude Desktop:

{
  "mcpServers": {
    "goodlinks": {
      "command": "node",
      "args": ["/absolute/path/to/goodlinks-mcp/dist/index.js"],
      "env": {
        "GOODLINKS_TOKEN": "your-token-here"
      }
    }
  }
}

Environment variables

| Variable | Required | Default | Description | |---|---|---|---| | GOODLINKS_TOKEN | Yes | — | Bearer token from GoodLinks → Settings → API | | GOODLINKS_PORT | No | 9428 | Port the GoodLinks API listens on |

Available tools

Links

| Tool | Description | |---|---| | search_links | Search and filter your entire library. Supports full-text search, tag filters, read/starred/highlighted filters, word-count range, date range, and sort order. | | get_links_in_list | Retrieve links from a built-in list: unread, read, starred, untagged, highlighted, or all. | | get_link_by_id | Fetch a single link by its GoodLinks ID. | | get_link_by_url | Look up a saved link by URL. | | get_current_link | Get the link currently selected in the GoodLinks app. | | add_link | Save a new URL (or update it if already saved). Accepts title, summary, tags, read/starred flags, and a custom saved date. | | edit_link | Update a link's title, summary, starred/read status, or tags. Supports adding/removing individual tags or replacing the full tag set. | | delete_links | Move one or more links to the trash (recoverable from within GoodLinks). | | get_article_content | Retrieve the full article text in html, plaintext, or markdown format. |

Lists

| Tool | Description | |---|---| | get_lists | Get all visible lists (built-in and custom). |

Tags

| Tool | Description | |---|---| | get_tags | Get every tag in your library. |

Highlights

| Tool | Description | |---|---| | search_highlights | Search highlights by text content, note, link ID, or date range. | | edit_highlight | Update the note attached to a highlight. | | export_highlights | Export all highlights from a link as formatted Markdown. |

Example prompts

  • "What are my unread starred articles about AI?"
  • "Add this URL to my reading list and tag it 'research': https://…"
  • "Show me all highlights I made this week"
  • "Summarise the article I have open in GoodLinks"
  • "Export the highlights from my last-read article as Markdown"
  • "What tags do I use most?"

Troubleshooting

"GoodLinks API is not reachable"

  • Make sure GoodLinks is open and running
  • Confirm the API is enabled in Settings → API
  • Check that no firewall is blocking localhost connections
  • If you changed the port, set GOODLINKS_PORT accordingly

"Invalid or missing GoodLinks API token"

  • Re-copy the token from Settings → API (it may have been regenerated)
  • Make sure the token is set in GOODLINKS_TOKEN with no extra whitespace

Claude doesn't see the GoodLinks tools

  • Restart Claude Desktop after editing the config file
  • Validate the JSON in claude_desktop_config.json (a trailing comma will break it)
  • Run npx goodlinks-mcp manually in a terminal to check for Node errors

Publishing to npm

npm login
npm publish --access public

Make sure you've run npm run build first and that the dist/ folder is present.

License

MIT