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

@vitgranen/markie-mcp

v0.2.0

Published

MCP server for Markie — search, browse, and retrieve images, videos, and design assets from your personal library via any AI assistant

Downloads

15

Readme

markie-mcp

npm version license

MCP (Model Context Protocol) server for Markie — a personal asset library for designers and developers. Markie collects images, videos, PDFs, SVGs, and website bookmarks via a Chrome extension, then enriches them with AI-generated descriptions, tags, and color palettes. This MCP server lets AI assistants search, browse, and retrieve assets from your Markie library.

Prerequisites

  1. The Markie desktop app must be running on your machine (it serves the API on localhost:3210).
  2. Node.js 18 or later.

Setup

No API key required — the server authenticates automatically with the local Markie app.

Claude Code

claude mcp add markie -- npx -y markie-mcp

Claude Desktop

Add to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json):

{
  "mcpServers": {
    "markie": {
      "command": "npx",
      "args": ["-y", "markie-mcp"]
    }
  }
}

Cursor / other MCP clients

Use npx -y markie-mcp as the command. The server communicates over stdio.

Available Tools

search_assets

Full-text search across your library with optional filters.

| Parameter | Type | Required | Description | |-----------|------|----------|-------------| | query | string | No | Search query (searches descriptions, titles, tags, URLs, categories) | | tags | string[] | No | Only assets that have all of these tags | | type | string | No | Asset type: image, video, pdf, vector, or website | | dateFrom | string | No | ISO date — assets saved on or after this date | | dateTo | string | No | ISO date — assets saved on or before this date | | colors | string[] | No | Hex colors — assets with at least one matching palette color | | limit | number | No | Max results to return (default 20, max 100) |

get_asset_detail

Full metadata for a single asset.

| Parameter | Type | Required | Description | |-----------|------|----------|-------------| | id | string | Yes | Asset ID |

get_asset_thumbnail

Thumbnail image for an asset. Returns a base64-encoded JPEG so the AI can see the asset visually.

| Parameter | Type | Required | Description | |-----------|------|----------|-------------| | id | string | Yes | Asset ID |

get_asset_file

Full file content as base64. Returns an error if the file exceeds 10 MB.

| Parameter | Type | Required | Description | |-----------|------|----------|-------------| | id | string | Yes | Asset ID |

list_tags

All tags in your library, sorted by frequency (most used first). No parameters.

list_colors

All hex colors extracted from asset color palettes, sorted by frequency. No parameters.

get_recent

Most recently saved assets.

| Parameter | Type | Required | Description | |-----------|------|----------|-------------| | n | number | No | Number of assets to return (default 10, max 50) |

get_stats

Library statistics: total asset count, breakdown by type, total storage size, unique tag count, AI-enriched count, and date range. No parameters.

Asset Schema

Each asset returned by the tools contains these fields:

| Field | Type | Description | |-------|------|-------------| | id | string | Unique identifier | | sourceUrl | string | Original URL the asset was saved from | | sourceDomain | string | Domain of the source URL | | pageTitle | string | Title of the page the asset was found on | | pageUrl | string | Full URL of the source page | | type | string | image | video | pdf | vector | website | | mimeType | string | MIME type (e.g. image/png) | | fileName | string | Stored file name | | originalName | string | Original file name | | fileSize | number | File size in bytes | | width / height | number | null | Dimensions (images and videos) | | savedAt | string | ISO 8601 timestamp | | tags | string[] | AI-generated and manual tags | | description | string | null | AI-generated description | | colorPalette | string[] | null | Extracted hex color palette | | category | string | null | AI-assigned category | | aiEnriched | boolean | Whether AI enrichment has been applied |

How It Works

The MCP server connects to the Markie desktop app's local API on localhost:3210. It registers for a bearer token on startup and caches the asset catalog in memory with a 5-second TTL. Full-text search uses fuzzy matching across descriptions, titles, tags, URLs, and categories.

If Markie isn't running when a tool is called, you'll get a friendly error message asking you to start the app. The server will re-register automatically on the next call once Markie is back.

Troubleshooting

"Markie is not running" — Start the Markie desktop app. The MCP server needs it running on localhost:3210.

Assets not showing up — The server caches the catalog for 5 seconds. Newly saved assets will appear after a short delay.

Tools work at first, then stop — If you quit Markie after the MCP server started, tools will return a connection error. Restart Markie and the server will reconnect automatically.

License

MIT