liga-record-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@liga-record-mcpIs my current XI legal, and who comes on if Diogo Costa doesn't play?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Liga Record MCP
An MCP server that exposes my Liga Record fantasy football squad to Claude — the rules as tools, the regulation as a resource, and two prompts for the decisions I actually make each round.
The split it's built on: deterministic rules live in code, judgement stays with Claude. Formation legality, budget arithmetic and the §11 automatic substitutions are computed here and are authoritative. Who to start and who to sell is Claude's to reason about, given real data and the real rulebook.
See docs/PLANNING.md for the design and the rule ambiguities this reading of the regulation leaves open.
Setup
python -m venv .venv
.\.venv\Scripts\python.exe -m pip install -e .The editable install is not optional — it puts liga_record_mcp on the path (the
project uses a src/ layout) and creates the liga-record-mcp launcher the MCP
config points at.
Your squad lives in data/squad.yaml. Copy data/squad.example.yaml and fill in
your 23 players — the loader checks the file against the regulation on every read
and names whatever is missing, so you don't have to count by hand. Point
LIGA_RECORD_SQUAD at a different file to run a second team.
Related MCP server: wcprediction-mcp
Connecting it to Claude
.mcp.json in the repo root already declares the server, so Claude Code picks it
up when you open this project — no CLI needed. Restart Claude Code after the
install and approve the server when prompted.
The path in
.mcp.jsonis absolute and machine-specific. Windows resolves a relative command against the launching process's directory, not the server's, so a relative path fails when the app starts it. Edit that path if you move or clone the repo.
Claude Desktop uses the same shape in claude_desktop_config.json:
{
"mcpServers": {
"liga-record": {
"command": "C:\\path\\to\\liga-record-mcp\\.venv\\Scripts\\liga-record-mcp.exe"
}
}
}Then ask it something: "Is my current XI legal, and who comes on if Diogo Costa doesn't play?"
What it exposes
Tools — get_squad, get_player, search_squad, validate_selection,
simulate_autosubs, check_transfer, project_price, plus two that read the
live site: search_market (the whole player pool, with ownership percentages
for finding differentials) and check_market_transfer (prices a swap from the
real quote rather than a hand-typed one). Every read carries an as_of
timestamp so Claude can say how fresh the data is instead of presenting a stored
squad as live.
The live client is read-only by design. The site also exposes buy, sell and renegotiate endpoints — their contracts are known — and they are deliberately not implemented. Confirming a transfer stays a human's click on Record's site.
Resources — ligarecord://regulamento (generated from the same constants the
rules enforce, so it can't drift from the code) and ligarecord://squad.
Prompts — pick_starting_xi, plan_transfers.
Tests
./.venv/Scripts/python.exe -m pytest -qrules.py is pure — no I/O, no network, no clock — so the whole rulebook is
tested without touching the site.
Status
Steps 1–3 are done: the rules engine, the data-source seam with a hand-maintained YAML squad, and the MCP server.
Step 4 is half done, and the half that matters most is the half that shipped.
playersearch.ashx returns clean JSON for the entire 498-player market and
needs no authentication — verified with a request carrying no cookie — so
the session-token problem the plan treated as step 4's main risk simply does not
arise for market data.
Reading a specific team's squad does still need a login, so data/squad.yaml
remains hand-maintained. That is the remaining piece.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseBqualityAmaintenanceA Model Context Protocol server that provides access to Fantasy Premier League data, allowing users to compare players, find team information, view gameweek data, and get FPL-related advice through Claude for Desktop and other MCP-compatible clients.2374MIT
- Flicense-qualityBmaintenanceMCP server for a World Cup 2026 prediction game assistant, providing tools for live game data via PostgreSQL and semantic search over football articles via RAG.
- Flicense-qualityDmaintenanceMCP server for the Fantasy Premier League API, enabling querying of players, teams, fixtures, and your FPL team through any MCP-compatible client.
- Alicense-qualityBmaintenanceEnables Claude to interact with Sleeper fantasy football leagues via MCP tools for roster, waiver, matchup, and transaction queries, plus a dashboard for daily reports, live scoring, and game-day alerts.27MIT
Related MCP Connectors
MCP server providing access to the Scorecard API to evaluate and optimize LLM systems.
MCP server giving Claude AI access to 22+ NYC public-record databases for real estate due diligence
Markdown-first MCP server for Notion API with 8 composite tools and 39 actions.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/manuelcralves/liga-record-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server