Sports Trading Card Agent

by rjexile

253 downloads
Not rated
GitHub

About

Real-time sports card pricing, market analysis, arbitrage detection, grading ROI, investment advice, and player stats (NBA/NFL/MLB). 9 tools for AI agents helping collectors and investors.

Details

Author
rjexile
Downloads
253
Categories
Web Scraping, Other, API, Finance, AI

- Real-time sold and active prices from eBay
- Multi-sport player stats with card market insights
- Detect arbitrage opportunities where cards are listed below market value
- Grading ROI calculator for PSA, BGS, and SGC
- Buy/sell/hold recommendations based on market trends and player performance
- Trending player alerts for breakout NBA performers

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Sports Trading Card Agent
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Install via pip install sports-card-agent, then run sports-card-agent from the command line. Configure the Claude Desktop or Claude Code MCP client to launch the server with the sports-card-agent command, and optionally set EBAY_APP_ID, EBAY_CERT_ID, and BALLDONTLIE_API_KEY environment variables for live data. The server works immediately without API keys using mock data.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "sports trading card agent": {
            "sports-trading-card-agent": {
                "command": "uvx",
                "args": [
                    "sports-card-agent"
                ]
            }
        }
    }
}

McpServers

{
    "sports-trading-card-agent": {
        "command": "uvx",
        "args": [
            "sports-card-agent"
        ]
    }
}

Sports Card Agent

<!-- mcp-name: io.github.rjexile/sports-card-agent -->

An MCP server that gives AI agents expert-level sports trading card data. Covers pricing, market analysis, arbitrage detection, grading ROI, investment advice, player stats (NBA/NFL/MLB), vintage card analysis, and trending player alerts.

9 tools. 3 sports. 40+ vintage sets. Zero manual research.

Tools

Pricing & Market

| Tool | Description |
|------|-------------|
| card_price_lookup | Real-time sold and active prices from eBay. Supports any sport, brand, year, or grading. |
| card_market_analysis | Trend analysis comparing sold vs asking prices. Detects arbitrage opportunities where cards are listed below market value. |

Player Stats

| Tool | Description |
|------|-------------|
| player_stats_lookup | Multi-sport player stats (NBA/NFL/MLB) with card market insights based on performance. |
| nfl_stats_lookup | NFL passing, rushing, receiving, and defensive stats with card market insights. |
| mlb_stats_lookup | MLB batting (AVG, HR, RBI, OPS) and pitching (ERA, K, WHIP) stats with card insights. |

Analysis & Strategy

| Tool | Description |
|------|-------------|
| grading_roi_calculator | Calculates whether grading a card is profitable. Compares raw vs graded prices for PSA, BGS, and SGC with fee-adjusted ROI. |
| card_investment_advisor | Buy/sell/hold recommendations combining market trends with player performance data across all 3 sports. |
| trending_players | Identifies NBA players with breakout performances whose cards are likely rising in value. |
| vintage_card_analysis | Era-specific analysis for pre-2000 cards. Covers 40+ iconic sets from 1909 T206 to 2000 Playoff Contenders with grade-based pricing. |

Quick Start

Install from PyPI

pip install sports-card-agent

Run the server

sports-card-agent

Use with Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "sports-card-agent": {
      "command": "sports-card-agent"
    }
  }
}

Use with Claude Code

Add to your .mcp.json:

{
  "mcpServers": {
    "sports-card-agent": {
      "command": "sports-card-agent"
    }
  }
}

Configuration

Create a .env file or set environment variables:

```bash

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.