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

sharppredict-mcp

v1.0.0

Published

SharpPredict MCP Server - Prediction market edge detection for AI assistants

Readme

SharpPredict MCP Server

Prediction market edge detection for AI assistants. Connects Claude, ChatGPT, and other MCP-compatible agents to real-time Polymarket data with built-in edge analysis.

What It Does

When you ask your AI assistant "what prediction market edges exist right now?" or "is this Polymarket contract mispriced?", this MCP server provides the answer.

Four tools included:

  • get_prediction_market_edges - Scan for mispriced contracts across all categories
  • analyze_prediction_market - Deep analysis of a specific Polymarket market
  • get_market_overview - Top markets by volume, biggest movers, edge opportunities
  • calculate_position_size - Kelly criterion calculator for optimal bet sizing

Installation

Claude Code (recommended)

Add to your Claude Code MCP settings (~/.claude/settings.json):

{
  "mcpServers": {
    "sharppredict": {
      "command": "npx",
      "args": ["@jlclabs/sharppredict-mcp"]
    }
  }
}

Claude Desktop

Add to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):

{
  "mcpServers": {
    "sharppredict": {
      "command": "npx",
      "args": ["@jlclabs/sharppredict-mcp"]
    }
  }
}

Manual / Local Development

git clone https://github.com/jlclabs/sharppredict-mcp.git
cd sharppredict-mcp
npm install
npm run build

Then point your MCP client at the built server:

{
  "mcpServers": {
    "sharppredict": {
      "command": "node",
      "args": ["/path/to/sharppredict-mcp/dist/index.js"]
    }
  }
}

Usage Examples

Once connected, just ask your AI assistant naturally:

  • "What prediction market edges exist right now?"
  • "Show me mispriced crypto markets on Polymarket"
  • "Analyze this Polymarket contract: https://polymarket.com/event/will-bitcoin-hit-100k"
  • "I have a 5% edge at 2.5 odds with a $1000 bankroll. How much should I bet?"
  • "Give me an overview of political prediction markets"

Tool Details

get_prediction_market_edges

Find mispriced contracts on Polymarket.

| Parameter | Type | Default | Description | |-----------|------|---------|-------------| | category | string | "all" | politics, crypto, sports, tech, or all | | min_edge_pct | number | 3.0 | Minimum edge % to include |

analyze_prediction_market

Analyze a specific market.

| Parameter | Type | Description | |-----------|------|-------------| | market | string | Polymarket URL, slug, or numeric ID |

get_market_overview

Overview of active markets.

| Parameter | Type | Default | Description | |-----------|------|---------|-------------| | category | string | "all" | Filter by category |

calculate_position_size

Kelly criterion position sizing.

| Parameter | Type | Description | |-----------|------|-------------| | edge_pct | number | Your estimated edge as a percentage | | odds | number | Decimal odds (for Polymarket: 1 / price) | | bankroll | number | Your total bankroll in dollars |

Data Sources

  1. SharpPredict API (primary, when available) - Pre-computed edges with AI analysis
  2. Polymarket Gamma API (fallback) - Direct market data with real-time pricing

Requirements

  • Node.js 18+
  • Internet connection (fetches live market data)

License

MIT

Links