Fire in da houseTop Tip:Paying $100+ per month for Perplexity, MidJourney, Runway, ChatGPT and other tools is crazy - get all your AI tools in one site starting at $15 per month with Galaxy AI Fire in da houseCheck it out free

tft-mcp-server

MCP.Pizza Chef: GeLi2001

The tft-mcp-server is a Model Context Protocol server designed to expose Team Fight Tactics (TFT) game data through structured APIs. It enables access to match histories and detailed match information for summoners by integrating with the Riot Games API. This server requires Node.js and a Riot Games API key, facilitating real-time, contextual game data retrieval for AI models and applications.

Use This MCP server To

Retrieve match history for a specific TFT summoner Fetch detailed data about individual TFT matches Integrate TFT game stats into AI-driven game analysis tools Enable AI agents to provide real-time TFT match insights Support custom TFT dashboards with live game data Automate TFT player performance tracking and reporting

README

TFT MCP Server

This is a Model Context Protocol (MCP) server for Team Fight Tactics (TFT) that provides access to TFT game data through various tools.

Features

  • Get match history for a summoner
  • Get detailed information about specific TFT matches

Prerequisites

  • Node.js (v14 or higher)
  • npm or yarn
  • Riot Games API Key (for accessing TFT data) - Get it from Riot Games Developer Portal
    • Note: For development, you can use a temporary API key that expires in 24 hours
    • For production use, you'll need to apply for a permanent personal API key at Riot's Application Portal
  • Your Game Name, accessed from your Riot game console
  • Your Name Tagline, accessed from your Riot game console, which is usually followed/shown right after your Game Name. For example: NA1

Usage

  1. Configure the MCP server in your Claude Desktop config file:

MacOS

Location: ~/Library/Application Support/Claude/claude_desktop_config.json

Windows

Location: %APPDATA%/Claude/claude_desktop_config.json

Add the following configuration:

{
  "mcpServers": {
    "tft-mcp": {
      "command": "npx",
      "args": [
        "mcp-server-tft",
        "--apiKey",
        "<YOUR_RIOT_API_KEY>",
        "--gameName",
        "<YOUR_GAME_NAME>",
        "--tagLine",
        "<YOUR_TAG_LINE>"
      ]
    }
  }
}
  1. The server will run on stdio and provide the following tools:

tft_match_history

Get TFT match history for the current player.

Parameters:

  • count (optional): Number of matches to retrieve. Defaults to 20
  • start (optional): Start index for pagination. Defaults to 0

tft_match_details

Get detailed information about a specific TFT match.

Parameters:

  • matchId (required): The match ID to get details for

Development

The project is written in TypeScript and uses the Model Context Protocol SDK. To modify the code:

  1. Make changes in the src directory
  2. Run npm run build to compile
  3. Run npm start with the required parameters to test changes

License

MIT

tft-mcp-server FAQ

How do I obtain the Riot Games API key required for this server?
You can get a temporary API key from the Riot Games Developer Portal for development, and apply for a permanent key via Riot's Application Portal for production use.
What Node.js version is required to run the tft-mcp-server?
The server requires Node.js version 14 or higher to operate correctly.
Can I use this server to get data for any TFT player?
Yes, as long as you provide the correct summoner name and tagline, the server can fetch match history and details for that player.
Is the tft-mcp-server compatible with multiple MCP hosts?
Yes, it is designed as a standard MCP server and can integrate with any MCP client or host that supports the protocol.
How do I configure the tft-mcp-server with my MCP client?
Configuration involves adding the server details and Riot API key in your MCP client's config file, such as Claude Desktop's config.
Does the server provide real-time match updates?
The server provides access to match history and detailed match data but does not stream live match events in real time.
What data formats does the server return?
The server returns structured JSON data representing match histories and detailed match information suitable for LLM consumption.
Can I extend the tft-mcp-server to support other Riot games?
While designed for TFT, the server architecture can be extended to support other Riot games with additional API integrations.