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

tokenspy-mcp

v1.0.0

Published

TokenSpy MCP Server — AI pitfall intelligence and trading signals for agents

Readme

🕵️ TokenSpy MCP Server

Give your AI agent access to pitfall intelligence and trading signals.

TokenSpy maintains a curated database of AI pitfalls (common mistakes, failure modes, and gotchas that cost teams real money) and trading signals (data-driven directional indicators). This MCP server lets AI agents like Claude, Cursor, and others query that data directly.


Quick Start

npx tokenspy-mcp

That's it. Your AI agent can now search pitfalls and trading signals.


Installation

Option 1: npx (no install)

npx tokenspy-mcp

Option 2: Global install

npm install -g tokenspy-mcp
tokenspy-mcp

Configuration

Claude Desktop

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

{
  "mcpServers": {
    "tokenspy": {
      "command": "npx",
      "args": ["-y", "tokenspy-mcp"],
      "env": {
        "TOKENSPY_API_KEY": "your-api-key-here"
      }
    }
  }
}

Cursor

Add to your Cursor MCP settings (.cursor/mcp.json in your project or global config):

{
  "mcpServers": {
    "tokenspy": {
      "command": "npx",
      "args": ["-y", "tokenspy-mcp"],
      "env": {
        "TOKENSPY_API_KEY": "your-api-key-here"
      }
    }
  }
}

Windsurf / Other MCP Clients

Any MCP-compatible client can use this server. Point it at:

npx tokenspy-mcp

The server communicates over stdio using the standard MCP protocol.


Available Tools

Pitfall Tools

| Tool | Description | |------|-------------| | search_pitfalls | Search the AI pitfall database by keyword and tags | | get_pitfall | Get full details for a specific pitfall | | list_pitfalls | List all available pitfalls |

Signal Tools

| Tool | Description | |------|-------------| | search_signals | Search trading signals by keyword, ticker, or category | | get_signal | Get full details for a specific signal | | list_signals | List all available trading signals |


Tool Examples

Search for AI pitfalls

Agent: "Search for pitfalls related to RAG"

→ search_pitfalls({ query: "RAG" })

Returns:
[
  {
    "id": "pit_rag_001",
    "title": "RAG Retrieval Poisoning",
    "summary": "Attackers inject malicious content into...",
    "price": 4.99,
    "estimatedCostSaved": 50000,
    "tags": ["security", "rag", "retrieval"]
  }
]

Get trading signal details

Agent: "What's the current BTC signal?"

→ search_signals({ ticker: "BTC" })

Returns:
[
  {
    "id": "sig_btc_momentum",
    "name": "BTC Momentum Oscillator",
    "ticker": "BTC",
    "direction": "bullish",
    "winRate": 0.72,
    "price": 9.99,
    "category": "crypto"
  }
]

Free vs Paid Tier

| | Free | Paid | |---|---|---| | Search pitfalls | ✅ | ✅ | | List pitfalls | ✅ | ✅ | | Pitfall summaries | ✅ | ✅ | | Full pitfall content | ❌ | ✅ | | Search signals | ✅ | ✅ | | List signals | ✅ | ✅ | | Signal direction & win rate | ✅ | ✅ | | Full signal methodology | ❌ | ✅ |

Free tier works without any API key — great for discovery and basic queries.

Paid tier requires a TOKENSPY_API_KEY environment variable. Get your API key at tokenspy.ai.


Environment Variables

| Variable | Required | Description | |----------|----------|-------------| | TOKENSPY_API_KEY | No | API key for full content access |


API Documentation

Full API docs are available at tokenspy.ai/docs.


How It Works

This package implements the Model Context Protocol (MCP) — an open standard for connecting AI agents to external tools and data sources. When you configure this server in Claude Desktop, Cursor, or any MCP client:

  1. The client starts the tokenspy-mcp process
  2. Communication happens over stdin/stdout using JSON-RPC
  3. The AI agent can discover and call TokenSpy tools
  4. All tools are read-only — no destructive operations, ever

Development

git clone https://github.com/kypro-ai/tokenspy-mcp.git
cd tokenspy-mcp
npm install
npm run build
npm start

License

MIT — see LICENSE.


Built with 🕵️ by TokenSpy