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

@spritz-finance/mcp-server

v0.3.1

Published

MCP server for Spritz fiat rails — off-ramp crypto to bank accounts with AI agents

Readme

Spritz MCP Server

MCP server for Spritz fiat rails — let AI agents off-ramp crypto to bank accounts.

What This Does

An MCP (Model Context Protocol) server that gives AI agents tools to interact with the Spritz API. Tools are derived from the OpenAPI spec — no hand-written schemas.

Installation

npx (recommended)

npx @spritz-finance/mcp-server

Global install

npm install -g @spritz-finance/mcp-server
spritz-mcp-server

From source

git clone https://github.com/spritz-finance/spritz-mcp-server.git
cd spritz-mcp-server
npm install && npm run build

Configuration

1. Get Your API Key

Create one at app.spritz.finance/api-keys.

2. Configure Your MCP Client

Claude Desktop

Add to ~/.config/claude/claude_desktop_config.json:

{
  "mcpServers": {
    "spritz": {
      "command": "npx",
      "args": ["@spritz-finance/mcp-server"],
      "env": {
        "SPRITZ_API_KEY": "your-api-key"
      }
    }
  }
}

Claude Code

Add to your project's .mcp.json:

{
  "spritz": {
    "command": "npx",
    "args": ["@spritz-finance/mcp-server"],
    "env": {
      "SPRITZ_API_KEY": "your-api-key"
    }
  }
}

Cursor

Add to ~/.cursor/mcp.json:

{
  "mcpServers": {
    "spritz": {
      "command": "npx",
      "args": ["@spritz-finance/mcp-server"],
      "env": {
        "SPRITZ_API_KEY": "your-api-key"
      }
    }
  }
}

Available Tools

| Tool | Description | |------|-------------| | list_bank_accounts | List saved bank accounts | | create_bank_account | Add a bank account (US, CA, UK, or IBAN) | | delete_bank_account | Remove a bank account | | list_off_ramps | List off-ramp transactions with optional filters | | create_off_ramp_quote | Create a quote to convert crypto to fiat | | get_off_ramp_quote | Re-fetch a quote to check status | | get_off_ramp_transaction | Get transaction params (EVM calldata or Solana serialized tx) to sign and submit |

Architecture

Tools are driven by the OpenAPI spec — not hand-written. To expose a new endpoint, add one entry to src/config.ts:

{
  name: "list_bank_accounts",
  operationId: "getV1Bank-accounts",
  description: "List all bank accounts saved as off-ramp payment destinations.",
},
// Add more entries — inputSchema, HTTP method, and path are derived from the spec.

The server reads openapi.json, finds each operationId, extracts the JSON Schema for parameters and request bodies, and registers them as MCP tools. A generic handler dispatches tool calls to the Spritz API.

openapi.json          → source of truth for request/response schemas
src/config.ts         → which operations to expose (cherry-pick)
src/spec.ts           → reads spec, builds MCP tool definitions
src/handlers.ts       → generic dispatcher (path params, query, body)
src/formatters.ts     → CSV/JSON response formatting
src/client.ts         → Spritz API HTTP client
src/index.ts          → MCP server entrypoint

Development

npm install
npm run dev          # Watch mode
npm run build        # Build
npm run inspector    # MCP inspector

Updating the OpenAPI spec

curl -s https://sandbox.spritz.finance/openapi/json > openapi.json

License

MIT