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

@jclvsh/xmark

v0.3.0

Published

MCP server and CLI for the xmark API — chat with your X bookmarks from inside Claude Code, Cursor, or any MCP client.

Readme

@jclvsh/xmark

MCP server and CLI for the xmark API — chat with your X (Twitter) bookmarks from inside Claude Code, Cursor, or any MCP-compatible client.

What is xmark?

xmark syncs your X bookmarks, embeds them with OpenAI, and lets you query them in natural language with citations back to the original tweets. This package wraps the xmark REST API as an MCP server (for AI clients) and a CLI (for terminal use).

Install

# Run the MCP server (stdio transport)
npx -y -p @jclvsh/xmark xmark-mcp

# Or use the CLI directly
npx -y -p @jclvsh/xmark xmark --help

Setup

Set your xmark API key (get one at /settings/api):

export XMARK_API_KEY=nt_live_...

Optionally override the API host (default is https://api.xmark.dev):

export XMARK_API_URL=https://api.xmark.dev

Tools exposed via MCP

| Tool | What it does | |---|---| | search_bookmarks | Semantic search over the user's bookmarks. | | chat | Ask a natural-language question with citations. | | sync_bookmarks | Pull the latest bookmarks from X. | | list_bookmarks | Paginated bookmark list. | | get_bookmark | Fetch a single bookmark by ID. | | delete_bookmark | Remove a bookmark (local-only, or also on X with unbookmark). | | list_conversations | Past chat conversations. | | get_conversation_messages | A conversation's message history. | | delete_conversation | Permanently delete a conversation. | | get_usage | Plan + quota usage (chat this month, syncs today, bookmark count). |

CLI commands

xmark search "what did I save about Claude?"
xmark chat "summarize what I saved this month about agents"
xmark sync
xmark list --page 1 --page-size 20
xmark get <bookmark-id>
xmark delete <bookmark-id> --unbookmark
xmark conversations
xmark messages <conversation-id>
xmark delete-conversation <conversation-id>
xmark usage

Pricing

Free tier: 20 chat messages/month, 1 sync/day. Pro is $5/month — unlimited chat and sync. The same plan covers the web app, CLI, MCP server, and developer REST API — no separate API tier.

Links

  • Homepage: https://xmark.dev
  • API reference: https://xmark.dev/docs
  • OpenAPI spec: https://api.xmark.dev/openapi.json
  • llms.txt: https://api.xmark.dev/llms.txt

License

MIT