Описание
MCP server for ESPN Fantasy Sports API
README
Tests PyPI Python License: MIT
MCP (Model Context Protocol) server providing access to ESPN Fantasy Baseball data, for use with Claude Code and other MCP clients.
Features
- Read league settings, standings, and team information
- View rosters with player details and lineup positions
- Look up players by name with fuzzy matching
- Browse and add free agents, submit waiver claims
- Modify lineups
- Propose, accept, decline, and cancel trades
Quick Start
1. Get ESPN Cookies
To access private leagues, you need ESPN authentication cookies:
- Log in to ESPN Fantasy Baseball
- Open browser DevTools → Application → Cookies →
https://fantasy.espn.com - Copy
espn_s2(long string) andSWID(format:{XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX})
2. Add to Claude Code
claude mcp add --scope user --transport stdio espn-fantasy \
--env ESPN_S2=your_espn_s2_cookie \
--env ESPN_SWID={your_espn_swid_cookie} \
--env ESPN_LEAGUE_ID=your_league_id \
--env ESPN_TEAM_ID=your_team_id \
--env ESPN_SEASON_YEAR=2026 \
-- uvx espn-fantasy-mcp
Keep the curly braces in the SWID value. uvx handles installation automatically — no separate install step needed.
3. Verify
Restart Claude Code or run /mcp and confirm "espn-fantasy" appears in the server list. Then try: "Show me my fantasy baseball league settings"
Documentation
- Tool Reference — all available tools and parameters
- Configuration — scopes, manual config, troubleshooting
Local Development
git clone https://github.com/i-am-david-weinstein/espn-fantasy-mcp.git
cd espn-fantasy-mcp
pip install -e ".[dev]"
pytest
To use a local install with Claude Code, replace the uvx ... portion of the claude mcp add command with python3 -m espn_fantasy_mcp.
Contributing
Contributions welcome — open an issue or submit a pull request.
License
MIT
Acknowledgments
- Built with MCP Python SDK
- Uses espn-api
Установить Espn Fantasy в Claude Desktop, Claude Code, Cursor
unyly install espn-fantasyСтавит в Claude Desktop, Claude Code, Cursor и VS Code — сам разбирается с npx, uvx и сборкой из исходников.
Впервые? Поставь CLI: curl -fsSL https://unyly.org/install | sh
Или настроить вручную
Выполни в терминале:
claude mcp add espn-fantasy -- uvx espn-fantasy-mcpПошаговые гайды: как установить Espn Fantasy
FAQ
Espn Fantasy MCP бесплатный?
Да, Espn Fantasy MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Espn Fantasy?
Нет, Espn Fantasy работает без API-ключей и переменных окружения.
Espn Fantasy — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить Espn Fantasy в Claude Desktop, Claude Code или Cursor?
Открой Espn Fantasy на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
GitHub
PRs, issues, code search, CI status
автор: GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Unyly Deploy
Deploy sites and MCP servers to Unyly straight from your AI agent
автор: UnylyAmap Maps Mcp Server
MCP server for using the AMap Maps API
автор: duxiaohuiPayMCP
Lightweight payments layer for MCP servers: turn tools into paid endpoints with a two-line decorator. [PyPI](https://pypi.org/project/paymcp/) · [npm](https://w
автор: blustAIServer For Power BI
Enables exploring Microsoft Fabric / Power BI workspaces and semantic models, and executing ad-hoc DAX queries.
автор: Mitsubishi-FusoTemplate MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
автор: mcpdotdirectSupabase
Database, auth and storage
автор: SupabaseEverything
Reference / test server with prompts, resources, and tools.
Compare Espn Fantasy with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории development
