How to Use the Clash of Clans Strategy & War Analytics MCP in Claude Code
Pipe live Clash of Clans data into your shell scripts, cron jobs, and CI/CD pipelines with Claude Code.
Works with every AI agent you already use
…and any MCP-compatible client
Connect Clash of Clans Strategy & War Analytics MCP to Claude Code
Create your Vinkius account to connect Clash of Clans Strategy & War Analytics to Claude Code and route execution through our secure gateway. The platform manages server hosting, runtime updates, and security layers. Configuration requires no manual server provisioning.
Check War Status from Your Terminal
Get live war updates without opening the game. Run `claude mcp exec get_current_war --clan #YOUR_TAG` to see the current score and attack status. It's just standard JSON output, so you can pipe it to `jq` for quick parsing. You can also pull historical data. Use `get_clan_war_log` to get a clan's entire war history or `get_capital_raid_seasons` for raid performance. This is raw data, ready for any script or backend service you're building.
Build Automated Clan Reports
Set up a cron job or a GitHub Action to run reports for you. Schedule a script that calls `get_clan_members` daily to check for new members or changes in roles. You can create a weekly war summary. Have a script execute `get_clan_war_log`, filter for the last 7 days, and calculate the win/loss ratio. Then have it send the result to a Discord webhook. This whole process can be fully automated.
Access Game Data in Any Script
This MCP server exposes the Clash of Clans API as simple command-line tools. You can search for clans with `search_clans` or get a player's full stats with `get_player_profile`, all from a shell script. It's not just for dynamic data. You can get static lists like all available locations with `list_locations` or every trophy league using `list_trophy_leagues`. This helps you write scripts without needing to hardcode game IDs.
Set up Clash of Clans Strategy & War Analytics MCP in Claude Code
Prerequisites
- Claude Code CLI installed (
npm install -g @anthropic-ai/claude-code) - Active Vinkius subscription with a valid endpoint token
- 1
Run the add command
Open your terminal and run the command shown on the right. Replace
[YOUR_TOKEN_HERE]with your endpoint token from cloud.vinkius.com. Use--scope userto make it available across all projects. - 2
Verify the connection
Start a Claude Code session and type
/mcpto list connected servers. You should seeclash-of-clans-strategy-war-analytics-mcpwith a green status indicator. - 3
Start using tools
Ask Claude Code something like "Check my latest Clash of Clans Strategy & War Analytics transactions." It will automatically discover and invoke the available Clash of Clans Strategy & War Analytics tools.
claude mcp add --transport http clash-of-clans-strategy-war-analytics-mcp https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp Why Choose Vinkius
Vinkius connects your tools to AI with real-time monitoring and automatic cost savings — all from one dashboard.
Real-time monitoring
Live
visibility into every interaction
Connect your favorite tools to your AI and see exactly what's happening — every request, every response, in real time.
Built-in savings
60%
lower AI costs
Vinkius compresses data between your apps and your AI automatically. Lower bills every month — no configuration required.
Single dashboard
One
place for every integration
Every tool your AI connects to, managed from a single screen. One account, complete control.
Common questions about Clash of Clans Strategy & War Analytics MCP in Claude Code
Use it with your favorite AI tools
Connect this server to Cursor, Claude, VS Code, and more.
Start using the Clash of Clans Strategy & War Analytics MCP today
We host it, we monitor it, we maintain it. You just paste one token.