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

@linkedmash/mcp

v1.2.0

Published

MCP server for LinkedIn saved posts: search and label your saved library, then draft, schedule and publish from it.

Readme

Linkedmash MCP Service

A Model Context Protocol (MCP) service that provides AI assistants with access to Linkedmash bookmark management capabilities.

Overview

This MCP service allows AI assistants to:

  • List user's LinkedIn bookmarks with filtering and pagination
  • Search through bookmarks using text queries
  • Get bookmark counts with various filters
  • Filter by read status, media type, author, tags, and date ranges

Setup

Prerequisites

  • Node.js 18+
  • A valid Linkedmash API token

Environment Variables

Create a .env file in the mcp-service directory:

LINKEDMASH_TOKEN=your_linkedmash_api_token_here
LINKEDMASH_WEBAPP_URL=https://www.linkedmash.com  # URL to the webapp for setup endpoints
NODE_ENV=development

Installation

# Install dependencies
npm install

# Run the service
npm start

# For development with auto-restart
npm run dev

Docker Setup

# Build and run with docker-compose
docker-compose up mcp-service

# For development mode
docker-compose --profile dev up mcp-service-dev

Available Tools

1. list_bookmarks

Lists user's LinkedIn bookmarks with optional filtering and pagination.

Parameters:

  • limit (number, 1-100): Number of bookmarks to retrieve
  • cursor (string): Pagination cursor for next page
  • is_unread_only (boolean): Filter to only unread bookmarks
  • hide_archived (boolean): Hide archived bookmarks
  • media_type (enum): Filter by media type (thread, media, replies, notes, links)
  • author (string): Filter by author username
  • tag (string): Filter by tag
  • posted_from/posted_to (string): Filter by post posting date range
  • bookmarked_from/bookmarked_to (string): Filter by bookmark date range
  • sort_by (enum): Sort order for results

2. search_bookmarks

Searches through bookmarks using a text query.

Parameters:

  • q (string, required): Search query
  • All the same filtering parameters as list_bookmarks

3. get_bookmark_count

Gets the total count of bookmarks with optional filtering.

Parameters:

  • All filtering parameters except limit, cursor, and sort_by

4. setup_vector_store

Initializes the vector store for semantic search. Call this when vector/semantic search fails with "Vector Store Not Setup" error.

Parameters: None

Note: This is an async operation that may take a few minutes to complete for large bookmark collections.

API Integration

The service integrates with the Linkedmash API at https://api.linkedmash.com/v1/bookmarks using Bearer token authentication.

Error Handling

The service includes comprehensive error handling and validation:

  • Invalid API tokens return authentication errors
  • Malformed requests are validated using Zod schemas
  • API errors are properly formatted and returned to the client

Development

The service is built using:

Usage with AI Assistants

This MCP service can be integrated with AI assistants that support the Model Context Protocol, allowing them to access and manage Linkedmash bookmarks on behalf of users.