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

@podx/mcp-server

v2.0.2

Published

🤖 Model Context Protocol server for PODx - AI-powered bot detection and crypto analysis tools

Readme

PODx MCP Server

A Model Context Protocol (MCP) server that provides advanced bot detection, crypto analysis, and Twitter scraping capabilities for AI assistants like Claude.

Features

🤖 Bot Detection Tools

  • Advanced Bot Analysis: Analyze Twitter accounts for bot-like behavior patterns
  • Network Risk Assessment: Detect coordinated bot networks and suspicious engagement
  • Behavioral Pattern Recognition: Identify artificial posting patterns and interaction anomalies

💰 Crypto Analysis Tools

  • Token Shilling Detection: Identify accounts promoting specific cryptocurrencies
  • Pump & Dump Schemes: Detect coordinated promotional campaigns
  • Trading Signal Analysis: Extract and analyze crypto trading signals from social media

🔍 Data Scraping Tools

  • Twitter Data Extraction: Scrape tweets, profiles, and engagement data
  • Hashtag Monitoring: Track hashtag usage and trending topics
  • Search Query Analysis: Analyze search results and social media discussions

📊 Resources & Prompts

  • Tweet Analysis Resources: Structured analysis of tweet content and metadata
  • User Profile Resources: Comprehensive user profile analysis
  • Analysis Prompts: Pre-built prompts for various analysis scenarios

Installation

# Install via npm
npm install @podx/mcp-server

# Or install via bun
bun add @podx/mcp-server

Usage

As a Standalone Server

# Start the MCP server
podx-mcp-server

# Or run directly with node
node ./bin/server.js

Note: The MCP server uses stdio transport (stdin/stdout) and does not bind to a network port. This ensures no conflicts with other services like the PODx API server (port 3000).

Integration with Claude Desktop

Add to your Claude Desktop configuration file (claude_desktop_config.json):

{
  "mcpServers": {
    "podx": {
      "command": "podx-mcp-server",
      "args": [],
      "env": {}
    }
  }
}

Programmatic Usage

import { PodxMcpServer } from '@podx/mcp-server';

const server = new PodxMcpServer();
await server.start();

Available Tools

Bot Detection

  • bot-detection: Analyze accounts for bot-like behavior
  • Input: username, analysis depth, tweet limit
  • Output: Bot probability score, suspicious patterns, network analysis

Token Shilling Analysis

  • token-shilling: Detect cryptocurrency promotional behavior
  • Input: username, token symbol, analysis type
  • Output: Shilling probability, promotional patterns, coordination indicators

Crypto Analysis

  • crypto-analysis: Extract trading signals and market sentiment
  • Input: username/hashtag/search query, timeframe
  • Output: Trading signals, sentiment analysis, market insights

Data Scraping

  • scraping: Extract Twitter data with advanced filtering
  • Input: target (user/hashtag/search), filters, limits
  • Output: Structured tweet data, user profiles, engagement metrics

Resources

Tweet Analysis Resource

  • URI: podx://tweet-analysis/{username}
  • Provides: Comprehensive tweet analysis including sentiment, patterns, and metadata

User Profile Resource

  • URI: podx://user-profile/{username}
  • Provides: Detailed user profile analysis including behavior patterns and network connections

Environment Variables

Required: Twitter Authentication

# Required: Twitter account credentials
XSERVE_USERNAME="your_twitter_username"
XSERVE_PASSWORD="your_twitter_password"
XSERVE_EMAIL="[email protected]"  # Optional, for account recovery

⚠️ Important: The MCP server requires valid Twitter credentials to function. It uses the agent-twitter-client library with username/password authentication (not OAuth API tokens).

Optional: Configuration

# Optional: Configure API limits and timeouts
PODX_MAX_TWEETS=1000
PODX_TIMEOUT_MS=30000
PODX_RATE_LIMIT_DELAY=1000

# Optional: Enable debug logging
PODX_DEBUG=true

Development

# Clone and install dependencies
git clone https://github.com/your-username/podx.git
cd podx/packages/mcp-server
bun install

# Build the package
bun run build

# Run in development mode
bun run dev

# Run tests
bun test

Architecture

The MCP server is built on the official TypeScript SDK and integrates with the PODx monorepo packages:

  • @podx/core: Core utilities and types
  • @podx/scraper: Twitter scraping and data extraction
  • @modelcontextprotocol/sdk: Official MCP SDK

API Reference

Tool Definitions

All tools follow the MCP tool specification with Zod schema validation:

interface ToolDefinition {
  title: string;
  description: string;
  inputSchema: ZodSchema;
  handler: (args: any) => Promise<any>;
}

Resource Templates

Resources use URI templates for dynamic content:

const template = new ResourceTemplate(
  'podx://resource-type/{parameter}',
  { list: undefined }
);

Contributing

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Add tests for new functionality
  5. Submit a pull request

License

MIT License - see LICENSE for details.

Support

Related Projects