npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

espn-mcp-server

v1.0.3

Published

MCP server for accessing ESPN sports data (NFL, NHL, NBA)

Readme

ESPN MCP Server

A Model Context Protocol (MCP) server that provides access to ESPN's public API for live sports data.

Supported Leagues

  • NFL (National Football League)
  • NHL (National Hockey League)
  • NBA (National Basketball Association)

Features

  • Current standings and playoff picture
  • Live scores and game schedules
  • Team information and statistics
  • Flexible team name resolution (city, nickname, or abbreviation)

Installation

npm install -g espn-mcp-server

Or clone and build:

git clone https://github.com/Left-Coast-Tech/espn-mcp.git
cd espn-mcp
npm install
npm run build

Usage with Claude Desktop

Add to your Claude Desktop config (~/.config/claude/claude_desktop_config.json on Mac/Linux or %APPDATA%\Claude\claude_desktop_config.json on Windows):

{
  "mcpServers": {
    "espn": {
      "command": "npx",
      "args": ["espn-mcp-server"]
    }
  }
}

Or if installed globally:

{
  "mcpServers": {
    "espn": {
      "command": "espn-mcp-server"
    }
  }
}

Usage with Claude Code

Add to your project's .mcp.json:

{
  "espn": {
    "command": "npx",
    "args": ["espn-mcp-server"]
  }
}

Available Tools

get_standings

Get current standings for a league.

league: "nfl" | "nhl" | "nba" (required)
group: conference or division filter (optional)

Example: "Get NFL standings for the AFC East"

get_scoreboard

Get current or upcoming games with scores.

league: "nfl" | "nhl" | "nba" (required)
week: NFL week number (optional)
date: YYYYMMDD format (optional)

Example: "What NFL games are on this week?"

get_team

Get team information including record and standing.

league: "nfl" | "nhl" | "nba" (required)
team: team name, city, or abbreviation (required)

Example: "Get info on the Patriots"

get_schedule

Get a team's schedule with results.

league: "nfl" | "nhl" | "nba" (required)
team: team name, city, or abbreviation (required)

Example: "Show me the Chiefs remaining schedule"

get_game

Get details about a specific game.

league: "nfl" | "nhl" | "nba" (required)
gameId: ESPN game ID (required)

get_playoffs

Get playoff bracket or playoff picture.

league: "nfl" | "nhl" | "nba" (required)

Example: "Show me the NBA playoff bracket"

Examples

Once configured, you can ask Claude:

  • "What are the current NFL standings?"
  • "Who's leading the AFC North?"
  • "What's the Broncos record?"
  • "What NBA games are on tonight?"
  • "Show me the NHL playoff picture"

Data Source

This server uses ESPN's public API. Data is fetched in real-time and is not cached.

License

MIT

Contributing

Contributions welcome! Please open an issue or PR.