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

carvelink-mcp

v1.1.0

Published

MCP server for CarveLink — manage bio pages via AI agents

Readme

carvelink-mcp

MCP (Model Context Protocol) server for CarveLink. Lets AI agents read and write your bio pages — create pages, add blocks, update themes, pull analytics, upload images.

Works with any MCP-compatible client: Claude Desktop, Claude Code, Cursor, and others.

Install

npm install -g carvelink-mcp

Or run on demand via npx carvelink-mcp (see client configs below).

Get an API key

  1. Sign in at carvelink.com
  2. Open Billing → API Keys
  3. Click Create API Key, copy the cv_live_... value (you won't see it again)

API keys inherit your account's tier permissions. Rate limit: 60 requests/minute per key.

Configure your client

Claude Desktop

Edit ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):

{
  "mcpServers": {
    "carvelink": {
      "command": "npx",
      "args": ["-y", "carvelink-mcp"],
      "env": {
        "CARVELINK_API_KEY": "cv_live_your_key_here"
      }
    }
  }
}

Restart Claude Desktop. You should see the carvelink server in the MCP indicator.

Claude Code

Add to ~/.claude/mcp.json or your project's .mcp.json:

{
  "mcpServers": {
    "carvelink": {
      "command": "npx",
      "args": ["-y", "carvelink-mcp"],
      "env": {
        "CARVELINK_API_KEY": "cv_live_your_key_here"
      }
    }
  }
}

Cursor

Add to ~/.cursor/mcp.json:

{
  "mcpServers": {
    "carvelink": {
      "command": "npx",
      "args": ["-y", "carvelink-mcp"],
      "env": { "CARVELINK_API_KEY": "cv_live_your_key_here" }
    }
  }
}

Tools

Pages

  • list_pages — list all bio pages
  • get_page — fetch one page with blocks and settings
  • create_page — create a new page (title, slug, description)
  • update_page — change title, slug, or description
  • delete_page — delete a page permanently

Blocks

  • list_block_types — list all available block types with required fields
  • get_block_schema — get the full content schema for a specific block type
  • list_blocks — list blocks on a page
  • add_block — add a block to a page (see schema tools above for content shape)
  • update_block — change a block's content or visibility
  • delete_block — remove a block
  • reorder_blocks — set block display order

Theming

  • update_theme — change theme preset or apply overrides

Analytics & account

  • get_analytics — views, clicks, CTR, device breakdown, top links
  • get_account — email, subscription tier
  • get_usage — page and product counts
  • get_earnings — digital product and tip income
  • list_products — digital products in your store

Assets

  • upload_image — upload an image (base64) and get a public URL for use in blocks

Block type discovery

There are 23 block types. Rather than memorizing their schemas, agents should call the discovery tools:

list_block_types       → [{type, description, required_fields}, ...]
get_block_schema(type) → {type, description, fields, example, notes}

Example workflow: "Add a testimonial block to my Services page"

  1. list_block_types → agent sees testimonial exists
  2. get_block_schema("testimonial") → agent learns it needs testimonials: [{id, quote, author, ...}] and display_mode: 'single' | 'carousel'
  3. add_block(page_id, type: "testimonial", content: {...})

Environment variables

| Variable | Required | Default | Purpose | |----------|----------|---------|---------| | CARVELINK_API_KEY | yes | — | Your cv_live_... API key | | CARVELINK_API_URL | no | CarveLink production | Override for self-hosted / dev |

Troubleshooting

"CARVELINK_API_KEY environment variable is required" — the key isn't being passed to the MCP server. Check your client config's env block.

"Invalid API key" — the key may have been revoked. Generate a new one in Billing → API Keys.

"Rate limit exceeded" — you've hit 60 requests in the last minute. Wait or add a second key.

Tool not appearing — restart your MCP client after editing its config. Check the logs for startup errors.

Development

npm install
npm run build
CARVELINK_API_KEY=cv_live_xxx node dist/index.js

To point at a local or staging API:

CARVELINK_API_URL=http://localhost:54321/functions/v1/api-v1 CARVELINK_API_KEY=cv_live_xxx node dist/index.js

License

MIT