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

@spike-npm-land/mcp-server

v0.1.0

Published

MCP server for Spike Land image generation and modification

Downloads

90

Readme

@spike-land/mcp-server

MCP (Model Context Protocol) server for Spike Land image generation and modification. Use this server to generate and modify images with AI directly from Claude Desktop or Claude Code.

Installation

npx @spike-land/mcp-server

Or install globally:

npm install -g @spike-land/mcp-server

Setup

1. Get an API Key

  1. Sign in at spike.land
  2. Go to Settings > API Keys
  3. Click "Create API Key"
  4. Copy your key (starts with sk_live_)

2. Configure Claude Desktop

Edit your Claude Desktop configuration file:

  • macOS: ~/.config/claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "spike-land": {
      "command": "npx",
      "args": ["@spike-land/mcp-server"],
      "env": {
        "SPIKE_LAND_API_KEY": "sk_live_your_key_here"
      }
    }
  }
}

3. Configure Claude Code

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

{
  "mcpServers": {
    "spike-land": {
      "command": "npx",
      "args": ["@spike-land/mcp-server"],
      "env": {
        "SPIKE_LAND_API_KEY": "sk_live_your_key_here"
      }
    }
  }
}

Or via CLI:

claude mcp add spike-land -- npx @spike-land/mcp-server

Available Tools

generate_image

Generate a new image from a text prompt.

Parameters:

  • prompt (required): Text description of the image to generate
  • tier (optional): Quality tier - TIER_1K (1024px), TIER_2K (2048px), or TIER_4K (4096px)
  • negative_prompt (optional): Things to avoid in the generated image
  • wait_for_completion (optional): Wait for job completion (default: true)

Example:

Generate an image of a serene mountain landscape at sunset with a calm lake

modify_image

Modify an existing image using a text prompt.

Parameters:

  • prompt (required): Text description of how to modify the image
  • image_url (optional): URL of the image to modify
  • image_base64 (optional): Base64-encoded image data
  • mime_type (optional): MIME type of the image (default: image/jpeg)
  • tier (optional): Quality tier
  • wait_for_completion (optional): Wait for job completion (default: true)

Example:

Add a rainbow to this image: [image URL]

check_job

Check the status of an image generation or modification job.

Parameters:

  • job_id (required): The job ID to check

get_balance

Get your current token balance.

Token Costs

| Tier | Resolution | Tokens | | ------- | ---------- | ------ | | TIER_1K | 1024px | 2 | | TIER_2K | 2048px | 5 | | TIER_4K | 4096px | 10 |

Tokens regenerate automatically (1 per 15 minutes, max 100). You can also purchase more at spike.land/settings.

Environment Variables

| Variable | Description | | --------------------- | ------------------------------------------ | | SPIKE_LAND_API_KEY | Your API key (required) | | SPIKE_LAND_BASE_URL | API base URL (default: https://spike.land) |

Usage Examples

In Claude Desktop

Simply ask Claude to generate or modify images:

"Generate an image of a cute robot gardening in a futuristic greenhouse"

"Take this image and add a sunset sky behind the mountains"

In Claude Code

Use the MCP tools in your development workflow:

"Generate a placeholder hero image for the landing page - something abstract and modern"

"Create a logo concept for my project - minimalist, uses geometric shapes"

Testing

You can test the API directly in your browser at spike.land/apps/pixel/mcp-tools.

Support

License

MIT