Implements the server as a Cloudflare Worker, enabling deployment and hosting of the MCP service on Cloudflare's edge network.
Provides access to MLB Stats API data including team information, rosters, player statistics, game schedules, live game data, league standings, game boxscores, player information, season information, and venue details.
MLB Stats MCP Server
A Cloudflare Worker that serves as an MCP (Model Context Protocol) server for accessing MLB Stats API data.
Features
- Proxy requests to MLB Stats API
- Support for multiple MLB endpoints
- CORS enabled for web applications
- Error handling and validation
- No API keys required (MLB Stats API is public)
Supported Commands
getTeamInfo
- Get team informationgetRoster
- Get team rostergetPlayerStats
- Get player statisticsgetSchedule
- Get game schedulegetLiveGame
- Get live game datagetStandings
- Get league standingsgetGameBoxscore
- Get game boxscoregetPlayerInfo
- Get player informationgetSeasons
- Get season informationgetVenues
- Get venue information
Request Format
Send POST requests to the worker endpoint with the following JSON structure:
Response Format
Successful responses return:
Error responses return:
Development
- Install Wrangler CLI:
- Login to Cloudflare:
- Deploy the worker:
Example Usage
Get Team Information
Get Player Stats
Get Schedule
This server cannot be installed
A Cloudflare Worker that provides access to MLB Statistics API data through the Model Context Protocol, supporting multiple endpoints like team info, player stats, game schedules, and live game data.
Related MCP Servers
- -securityFlicense-qualityA Cloudflare Workers-based Model Context Protocol server that can be deployed without authentication requirements, allowing users to create custom AI tools accessible from Cloudflare AI Playground or Claude Desktop.Last updated -TypeScript
- -securityFlicense-qualityAn MCP server that enables interaction with MLB (Major League Baseball) v3 projections through the SportsData.io API, allowing access to baseball statistics and projections through natural language.Last updated -Python
- -securityFlicense-qualityAn MCP Server that enables interaction with MLB scores and statistics via the SportsData.io MLB V3 Scores API, allowing users to access baseball data through natural language queries.Last updated -Python
- -securityFlicense-qualityA deployable Cloudflare Workers service that implements Model Context Protocol without authentication, allowing AI models to access custom tools via clients like Claude Desktop or Cloudflare AI Playground.Last updated -TypeScript