yahoo_fantasy_mcp
Verified Safeby spilchen
Overview
An MCP (Model Context Protocol) server that provides AI assistants and other clients read-only access to Yahoo Fantasy Sports data.
Installation
python -m yahoo_fantasy_mcpEnvironment Variables
- YAHOO_LEAGUE_ID
- YAHOO_CLIENT_ID
- YAHOO_CLIENT_SECRET
Security Notes
The server explicitly states it provides read-only access, significantly reducing risk. Authentication details (consumer keys, secrets, tokens) are handled via environment variables or a local `oauth2.json` file, which are standard and secure practices, avoiding hardcoding. The `stdio_transport` uses `pydantic.BaseModel.model_validate_json` for incoming JSON-RPC messages, which is robust against typical JSON parsing vulnerabilities. No `eval` or other highly dangerous functions are directly used for dynamic code execution. The main risks would be in the underlying `yahoo_fantasy_api` library or the Yahoo API itself.
Similar Servers
tmcp
Build Model Context Protocol (MCP) servers for AI agents, providing schema-agnostic tools, resources, and prompts, with optional OAuth 2.1 authentication and distributed session management.
mcp-servers
Provides a curated collection of Model Context Protocol (MCP) server configurations to enable AI agents to interact with various developer tools and services.
youdotcom-mcp-server
Provides AI agents with real-time web access for search, AI-powered answers, and content extraction via the Model Context Protocol.
tokenbowl-mcp
A Model Context Protocol (MCP) server for a fantasy football league, providing tools to interact with league data, player data, and a custom chat system for LLMs.