Skip to main content
Glama
Tennis Match Research MCP Server

Tennis Match Research MCP Server

by zokipoki3454
README.md
<!-- campaign-validation-warning:start -->
> **Validation warning:** Automated build or test validation did not pass before publication. This project may not work as intended; review and fix it before relying on it. Any claims below that it works or its tests pass may be outdated.
<!-- campaign-validation-warning:end -->

# Tennis Match Research MCP Server with Sportmicro API

## Overview
The Tennis Match Research MCP Server is a focused application for researching tennis match context, schedules, and documented event data through the [Sportmicro](https://sportmicro.com) API. This project aims to build a reliable server grounded in API responses and validated queries.

## Features
- Match-research MCP tools
- Supported date and event filters
- Documented match-detail retrieval
- Structured data responses
- Explicit no-match outcomes
- Read-only operation

## Prerequisites
To run this project, you need:
- Node.js (version >= 14)
- TypeScript
- `@modelcontextprotocol/sdk`
- A `.env` file with `SPORTMICRO_API_KEY`

## Installation
1. Clone the repository:
   ```bash
   git clone https://github.com/<publisher>/tennis-match-research-sportmicro-mcp.git
   cd tennis-match-research-sportmicro-mcp
   ```
2. Install the dependencies:
   ```bash
   npm install
   ```
3. Create a `.env` file from the `.env.example` template:
   ```bash
   cp .env.example .env
   ```
   Ensure to set your `SPORTMICRO_API_KEY` in the `.env` file.

## Environment Variables
| Variable                | Description                           |
|------------------------|---------------------------------------|
| `SPORTMICRO_API_KEY`   | Your API key for accessing Sportmicro.

## API Usage
The main endpoints of the Sportmicro API used by the server include:
- **Matches**: To retrieve match data.
- **Statistics**: To get match statistics.
- **Teams**: To get team information.

For detailed documentation, refer to the [Sportmicro API Docs](https://docs.sportmicro.com/).

## Project Structure
```
├── src/
│   ├── index.ts                # Entry point
│   ├── api/                    # API interaction layer
│   ├── models/                 # Data models
│   └── services/               # Business logic
├── .env.example                # Sample environment variables
├── .gitignore                  # Git ignore file
├── LICENSE                     # Project license
└── package.json                # NPM dependencies and scripts
```  

## License
This project is licensed under the MIT License.