MCP Integration
Connect AI agents to AltSportsData using the Model Context Protocol.
What is MCP?
Model Context Protocol enables AI agents to securely access external tools and data sources.
Our MCP server provides:
- Document intelligence (OCR, extraction)
- Partnership scoring algorithms
- League data enrichment
- Contract generation
Quick Start
Install MCP Server
# Using uv (recommended)
uv pip install altsportsdata-mcp
# Using pip
pip install altsportsdata-mcpConfigure for Claude Desktop
Add to your Claude config:
{
"mcpServers": {
"altsportsdata": {
"command": "uv",
"args": ["run", "altsportsdata-mcp"],
"env": {
"ALTSPORTSDATA_API_KEY": "your_key_here"
}
}
}
}Test Connection
In Claude Desktop, ask:
"What sports intelligence tools do you have access to?"You should see:
- Document processing tools
- Partnership scoring tools
- League enrichment tools
- Contract generation tools
Available Tools
Document Intelligence
- Process PDFs and extract structured data
- OCR scanned documents
- Validate document schemas
Partnership Scoring
- Evaluate leagues across 7 dimensions
- Calculate tier classifications
- Compare multiple leagues
League Enrichment
- Web scraping for league data
- Social media metrics
- Website traffic analysis
Contract Generation
- Generate partnership agreements
- Customize contract terms
- Export to PDF/DOCX
Example Workflows
Workflow 1: Process League Application
User: "Process this league questionnaire and generate a partnership proposal"
AI Agent:
1. Uses document_intelligence.process_pdf
2. Uses partnership_scoring.evaluate_league
3. Uses contract_generation.generate_agreement
4. Returns complete proposalWorkflow 2: Compare Leagues
User: "Compare Canadian Premier League vs Premier Lacrosse League"
AI Agent:
1. Uses league_enrichment.research_league (for both)
2. Uses partnership_scoring.compare_leagues
3. Returns detailed comparison with recommendationsConfiguration
Environment Variables
ALTSPORTSDATA_API_KEY=your_api_key
OPENAI_API_KEY=your_openai_key # For AI processing
GOOGLE_CLOUD_PROJECT=your_project # OptionalRate Limits
- Document processing: 10 req/min
- Partnership scoring: 60 req/min
- League enrichment: 30 req/min
- Contract generation: 10 req/min