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 🙏

© 2025 – Pkg Stats / Ryan Hefner

outrun-mcp

v1.0.1

Published

MCP Bridge for the Outrun Crypto API

Readme

Outrun MCP Server

This is the official Model Context Protocol (MCP) server for Outrun, an AI-native crypto state machine.

It connects AI assistants (like Claude Desktop) directly to high-resolution crypto market data, allowing them to answer complex questions about volatility, correlations, volume anomalies, and mining risks in real-time.

Features

  • Real-time Price Data: Get aggregated prices from 6 major exchanges (Binance, Coinbase, Kraken, etc.).
  • Volatility Analysis: Calculate standard deviation over specific time windows (e.g., "1h").
  • Wick Detection: Find assets that have flash-crashed or pumped >X% and returned to baseline.
  • Threshold Checks: Verify if a price persisted above or below a level for a set duration.
  • Volume Anomalies: Detect if current volume is significantly higher than the 10-day baseline.
  • Correlation: Check how two assets move together (Pearson coefficient).
  • Mining Weather: Monitor heat risks at major global Bitcoin mining hubs.
  • System Status: Check the health and data lag of the Outrun engine.

Installation

Add the following configuration to your claude_desktop_config.json file:

{
  "mcpServers": {
    "outrun": {
      "command": "npx",
      "args": [
        "-y",
        "outrun-mcp"
      ],
      "env": {
        "OUTRUN_API_KEY": "YOUR_API_KEY_HERE",
        "OUTRUN_API_URL": "https://0ut.run"
      }
    }
  }
}

Configuration

This server requires an API Key.

How to Buy a Key:

  1. Generate Invoice: POST /key/buy (Body: { "amount": 1000 })
  2. Pay Invoice: Use a Lightning wallet to pay.
  3. Claim Key: GET /key/claim/:orderId -> Returns { "apiKey": "..." }

Tools & Examples

Once connected, you can ask Claude questions that utilize these tools:

1. get_price (Calls GET /j/price)

Get the current consensus price of an asset.

  • Prompt: "What is the price of BTC?"
  • Prompt: "Check the price of SOL at 10:00 AM yesterday." (Historical)

2. get_volatility (Calls GET /j/volatility)

Check market stability over a time window.

  • Prompt: "Is ETH volatility high right now compared to the last hour?"
  • Prompt: "Calculate the 4-hour volatility for DOGE."

3. detect_wick (Calls GET /j/wick)

Find flash crashes or pump-and-dump wicks.

  • Prompt: "Did SOL have any flash crashes >5% in the last 24 hours?"
  • Prompt: "Check if BTC wicked down more than 3% in the last 6 hours."

4. get_threshold (Calls GET /j/threshold)

Verify if price conditions held true over time.

  • Prompt: "Has BTC held above $95,000 for the last hour?"
  • Prompt: "Did ETH drop below $2,500 at any point in the last 30 minutes?"

5. get_volume (Calls GET /j/volume)

Detect anomalous volume activity.

  • Prompt: "Is there any anomalous volume activity for BTC right now? Is it >3x normal?"
  • Prompt: "Check the volume status for PEPE."

6. get_correlation (Calls GET /j/correlation)

Analyze the relationship between two assets.

  • Prompt: "Are BTC and ETH moving together? Check their correlation over the last 24 hours."
  • Prompt: "Is there a decoupling between SOL and ETH in the last 4 hours?"

7. get_weather (Calls GET /j/weather)

Monitor Bitcoin mining curtailment risks.

  • Prompt: "Are mining hubs in Texas at risk of curtailment due to heat?"
  • Prompt: "Check the weather risk for the Rockdale mining facility (Code: TX_RDL)."

8. get_status (Calls GET /status)

Check the system health and data freshness.

  • Prompt: "Is the Outrun system online and healthy?"
  • Prompt: "Check if the crypto data is lagging."

License

ISC