Skip to main content

Add your description here

Project description

Valorant MCP Server

An MCP (Model Context Protocol) server that exposes Valorant match analysis tools. Connect it to Claude (or any MCP-compatible client) to fetch and analyze player stats, match history, agent performance, and more.

Powered by Henrik's Unofficial Valorant API.

Tools

Tool Description
get_player_info Fetch basic account info for a Riot ID
get_match_history Recent match history with stats for you and teammates (competitive by default; also supports unrated, deathmatch, swiftplay, spikerush, premier)
get_match_details Full breakdown of a specific match. summary view (default): per-player stats, team totals, kill list, round results, economy. narrative view: round-by-round timeline with named map zones (A Site, Mid, B Long, etc.) and event tags (entry, first_blood, trade, rotation)
get_agent_stats Aggregated per-agent stats: win rate, avg KDA, avg score
get_map_stats Aggregated per-map stats: win rate, avg score
get_weapon_stats Weapon usage stats: kills per weapon, usage percentage
get_rank_progression Current rank, elo, peak rank, and season history

Setup

Prerequisites

  • uv package manager:
    curl -LsSf https://astral.sh/uv/install.sh | sh
    
    (Windows: powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex")
  • A Henrik API key

Claude Code

claude mcp add valorant-analyzer -e HENRIK_API_KEY=your-key-here -- uvx valorant-mcp

Claude Desktop

Add to your Claude Desktop config:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
  • Linux: ~/.config/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "valorant-analyzer": {
      "command": "uvx",
      "args": ["valorant-mcp"],
      "env": {
        "HENRIK_API_KEY": "your-key-here"
      }
    }
  }
}

Local Development

git clone https://github.com/SeijiMatsumoto/valorant-mcp.git
cd valorant-mcp
uv sync

Create a .env file in the project root:

HENRIK_API_KEY=your-api-key-here

Run the server

uv run valorant-mcp

Test with MCP Inspector

mcp dev src/valorant_mcp/server.py

Run tests

uv run pytest src/valorant_mcp/tests/ -v

Tech Stack

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

valorant_mcp-0.3.2.tar.gz (553.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

valorant_mcp-0.3.2-py3-none-any.whl (17.1 kB view details)

Uploaded Python 3

File details

Details for the file valorant_mcp-0.3.2.tar.gz.

File metadata

  • Download URL: valorant_mcp-0.3.2.tar.gz
  • Upload date:
  • Size: 553.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.1 {"installer":{"name":"uv","version":"0.11.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for valorant_mcp-0.3.2.tar.gz
Algorithm Hash digest
SHA256 fac6f1f31a98fed7974dc883023f900def60b7c4549166a830e1695e883ac945
MD5 fcdc7bc99a6c54396a09fa34f9563659
BLAKE2b-256 a5fb741b1b83344444006f37a94e5acabfce65f722c3345577d83108a96b0c48

See more details on using hashes here.

File details

Details for the file valorant_mcp-0.3.2-py3-none-any.whl.

File metadata

  • Download URL: valorant_mcp-0.3.2-py3-none-any.whl
  • Upload date:
  • Size: 17.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.1 {"installer":{"name":"uv","version":"0.11.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for valorant_mcp-0.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 fc82b1c7b1451fc5dd4e5339095d200b0c36dfed9e6def0872e61758da26d156
MD5 6988cf8837d89db4463accd1a7c4ac9a
BLAKE2b-256 e2df9ef0fe4810224e5f227bc7e595628c3958a4b9fdfdb42eb67686f4ac1501

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page