返回市场
幻想专家-MCP

幻想专家-MCP

作者:DynamicEndpoints7 星标更新:2025-03-31

项目介绍

FantasyPros MCP Server

smithery 徽章

一个提供FantasyPros API访问的MCP服务器,用于获取体育数据、新闻、排名和预测。

安装

通过Smithery安装

要通过Smithery自动安装fantasy-pros-mcp到Claude Desktop:

npx -y @smithery/cli install @DynamicEndpoints/fantasy-pros-mcp --client claude

手动安装

  1. 通过邮件获取FantasyPros API密钥
  2. 创建一个.env文件并添加你的API密钥:
FANTASYPROS_API_KEY=your_api_key_here
  1. 安装依赖项:
npm install
  1. 构建服务器:
npm run build

可用工具

get_sport_news

获取特定体育项目的新闻(NFL, MLB, NBA, NHL)

  • 参数:
    • sport: 要获取新闻的体育项目 ('nfl', 'mlb', 'nba', 'nhl')
    • limit: 返回的新闻条目数量(最大25)
    • category: 新闻类型 ('injury', 'recap', 'transaction', 'rumor', 'breaking')

get_players

获取特定体育项目的球员信息

  • 参数:
    • sport: 要获取球员信息的体育项目 ('nfl', 'mlb', 'nba', 'nhl')
    • playerId: 按特定球员ID筛选(可选)

get_rankings

获取体育项目的共识排名

  • 参数:
    • sport: 要获取排名的体育项目 ('nfl', 'nba')
    • position: 按位置筛选(可选)
    • scoring: NFL的计分类型 ('STD', 'PPR', 'HALF')

get_projections

获取体育项目的球员预测

  • 参数:
    • sport: 要获取预测的体育项目 ('nfl', 'mlb', 'nba')
    • season: 赛季年份
    • week: 周数(仅适用于NFL)
    • position: 按位置筛选(可选)