Koskamo

Sports Rules MCP

An MCP server that provides access to the Sports Rules engine, allowing agents to determine offside calls in soccer (IFAB Law 11) and hockey (NHL Rule 83) based on player positions and involvement. It exposes a pure function via Streamable HTTP without authentication, supporting both JSON API and MCP protocols for rule verification.

Endpoint and access

No sign-in to connect and list tools. Individual tools may still need a vendor account, credentials, or permissions; check the documented prerequisites.

Sports Rules MCP logo, by Gumball ToolsVendor evidenceStreamable HTTPNo sign-inEndpoint checked 2026-11-23Operated by Gumball Tools
MCP endpoint (Streamable HTTP)
https://sports-rules.gumballtools.com/api/mcp
Vendor documentation

What its tools do

2 tools, grouped by the hints the server advertises. Hints are self-declared, not verified behavior.

2 of 2 have a description · 2 of 2 declare behavior hints · 1 of 1 with parameters document them all

Checks and signals

Each line is separate evidence, not a trust score.

  • Passed Endpoint answered the live check ·
  • Passed Official MCP Registry namespace is tied to gumballtools.com ·
  • Passed Endpoint is on the registry namespace domain ·
  • Uptime 100% over 90 days
  • Availability 2 of 2 checks passed in 30 days

About Sports Rules MCP

The Sports Rules MCP server connects to the Sports Rules engine to evaluate offside positions in soccer and hockey. It exposes two tools, `offside` and `offside_rule_contrast`, which allow agents to determine offside status based on player positions and involvement. The server supports both JSON API and MCP protocols for rule verification.

This server is suitable for tasks requiring machine-readable verdicts on offside calls. Agents can use it to check offside positions in hockey under NHL Rule 83 or determine offside status in soccer using IFAB Law 11. It also helps verify whether a specific offside position constitutes an offence.

Connection to the server requires no sign-in. However, individual tools may still need a vendor account, credentials, or permissions. Users must check the documented prerequisites for each specific tool before execution.

What you can do with it

  • Determine offside status in soccer using IFAB Law 11
  • Check offside position in hockey using NHL Rule 83
  • Verify if an offside position constitutes an offence
  • Get machine-readable rule verdicts via JSON API

Source and maintenance

Vendor evidenceRegistry 0.1.0
Repository status
Unavailable (HTTP 404)
Maintenance checked

Protocol and capabilities

Server
sports-rules 0.1.0
MCP protocol negotiated in check
2025-11-25
Tools
2 advertised
Resources
Not advertised
Resource templates
Not advertised
Prompts
Not advertised
Server-advertised capabilities
{
  "tools": {
    "listChanged": true
  }
}

Tools

2 advertised

offside — Work an offside call through IFAB Law 11 or NHL Rule 83
Advertised by the server during the last successful anonymous check.
Advertised read-only

Work an offside call through the published decision procedure — association football under IFAB Law 11, or ice hockey under NHL Rule 83 — and return every step, not just the verdict. Use this for any "was that offside" question in either sport. The two rules are structurally OPPOSITE and are routinely conflated, and there are four specific things that get answered wrong: SOCCER: 1. HANDS AND ARMS DO NOT COUNT, for anyone including goalkeepers. Only parts that could legally score are measured, and the boundary is the bottom of the armpit. This tool REFUSES to compute from an arm position rather than guessing where the shoulder was. 2. AN OFFSIDE POSITION IS NOT AN OFFENCE. It becomes one only with involvement in active play. Do not report "he was offside" when the answer is that he was in an offside position and uninvolved. `involvement` is REQUIRED once the geometry makes it decisive — the tool errors rather than assuming, so ask the user what the player actually did, and pass "none" if the answer is nothing. 3. No offside offence direct from a throw-in, goal kick, or corner. Absolute. 4. A DELIBERATE play by an opponent resets it; a deflection or a save does NOT. This is the distinction most arguments turn on. HOCKEY: 5. SKATES decide it. Not the stick, not the body. 6. Since 2021 a skate in the AIR above the blue line is still onside — the line is a plane, and ice contact is irrelevant. BUT this does not apply to tagging up on a delayed offside, where the skate must contact the line. Do not generalise the 2021 change to tag-ups. Input for soccer: positions along the attacking axis in metres, larger being nearer the opponents’ goal line — `attacker`, `ball`, `secondLastDefender`. Any consistent scale works; only the order matters. Optionally `restart`, `foremostPart`, `inOwnHalf`, `involvement`, `lastTouch`. Input for hockey: `rearSkate` in centimetres relative to the LEADING EDGE of the blue line, negative being the neutral-zone side. Optionally `skateOnIce`, `situation` (zone-entry or tag-up), and `stick`. Returns: a verdict of offside, onside, or no-offside-offence — three outcomes, not two, because "in an offside position but no offence" is a real and common answer — plus every step with the decisive one flagged, warnings, and a disclaimer. THIS IS NOT AN OFFICIAL RULING. Relay the steps, not just the verdict: in a real call the procedure is the easy half and the inputs are the argument. Do not quote IFAB or NHL rule text; it is copyrighted and this tool does not reproduce it.

offside input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "sport"
  ],
  "properties": {
    "ball": {
      "type": "number",
      "description": "SOCCER. Position of the ball, same scale."
    },
    "sport": {
      "enum": [
        "soccer",
        "hockey"
      ],
      "type": "string",
      "description": "Which rule book. The two are structurally opposite — do not mix them up."
    },
    "stick": {
      "type": "number",
      "description": "HOCKEY. Ignored, and reported as ignored. Skates decide it."
    },
    "restart": {
      "enum": [
        "open-play",
        "throw-in",
        "goal-kick",
        "corner-kick",
        "free-kick",
        "kick-off",
        "drop-ball"
      ],
      "type": "string",
      "description": "SOCCER. There is NO offside offence direct from a throw-in, goal kick, or corner. Always ask which restart it was before answering."
    },
    "attacker": {
      "type": "number",
      "description": "SOCCER. Position of the attacker along the attacking axis, larger being nearer the opponents’ goal line. Any consistent scale; only the order matters."
    },
    "inOwnHalf": {
      "type": "boolean",
      "description": "SOCCER. A player in their own half cannot be in an offside position."
    },
    "lastTouch": {
      "enum": [
        "team-mate",
        "opponent-deliberate-play",
        "opponent-deflection",
        "opponent-save",
        "rebound-off-post-or-crossbar"
      ],
      "type": "string",
      "description": "SOCCER. A DELIBERATE play by an opponent resets offside. A deflection, a save, or a rebound off the frame does NOT."
    },
    "rearSkate": {
      "type": "number",
      "description": "HOCKEY. The trailing skate in centimetres relative to the LEADING EDGE of the blue line — the edge nearer the attacking zone. Negative is the neutral-zone side; positive means it has broken the plane."
    },
    "situation": {
      "enum": [
        "zone-entry",
        "tag-up"
      ],
      "type": "string",
      "description": "HOCKEY. zone-entry (default), or tag-up for clearing a delayed offside. The same skate position can give opposite answers."
    },
    "skateOnIce": {
      "type": "boolean",
      "description": "HOCKEY. Since 2021 this does NOT affect a zone entry — a skate above the plane is onside. It is decisive when tagging up, where the skate must contact the line."
    },
    "involvement": {
      "enum": [
        "none",
        "interfering-with-play",
        "interfering-with-opponent",
        "gaining-advantage"
      ],
      "type": "string",
      "description": "SOCCER. REQUIRED once the player is in an offside position — the call errors without it rather than assuming. An offside POSITION is not an offence; this is what turns it into one, and \"none\" is a common and correct answer meaning play continues."
    },
    "foremostPart": {
      "enum": [
        "head",
        "shoulder",
        "torso",
        "hip",
        "thigh",
        "knee",
        "shin",
        "foot",
        "arm",
        "upper-arm",
        "forearm",
        "elbow",
        "hand",
        "fingertip"
      ],
      "type": "string",
      "description": "SOCCER. Which part the attacker position describes. Passing an arm or hand is REFUSED with an explanation: only parts that could legally score count, and the boundary is the bottom of the armpit."
    },
    "secondLastDefender": {
      "type": "number",
      "description": "SOCCER. Position of the SECOND-last opponent, same scale. Usually the last outfield defender, since the goalkeeper is normally the last."
    },
    "deliberatePlayCriteriaMet": {
      "type": "array",
      "items": {
        "enum": [
          "clear-view",
          "not-quick",
          "expected-direction",
          "coordinated",
          "on-the-ground"
        ],
        "type": "string"
      },
      "description": "SOCCER. Which of IFAB’s five deliberate-play criteria are met. Reported, not scored — there is no pass mark."
    }
  }
}
offside annotations
{
  "readOnlyHint": true,
  "openWorldHint": false
}
offside_rule_contrast — How soccer offside and hockey offside differ
Advertised by the server during the last successful anonymous check.
Advertised read-only

Return the structural differences between soccer offside and hockey offside, dimension by dimension. Use this when someone asks how the two compare, or when you are about to reason about one sport using an intuition from the other — which is the commonest way to get either wrong. They differ on what part of the player is measured, when the picture freezes, whether position alone is an offence, what happens at exactly level, what resets the situation, and which restarts are exempt. Takes no arguments. Returns the comparison table.

offside_rule_contrast input schema
{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {}
}
offside_rule_contrast annotations
{
  "readOnlyHint": true,
  "openWorldHint": false
}

Prompts

Not advertised

No prompt definitions available.

Resources

Not advertised

No resource definitions available.

90-day uptime

A lightweight connection check about every six hours, sampled on hosts with many listings. It shows the server answered, not that its tools work.

100% (79 of 79 checks answered)

  1. 2026-11-02: 3 of 3 checks answered
  2. 2026-11-03: 4 of 4 checks answered
  3. 2026-11-04: 4 of 4 checks answered
  4. 2026-11-05: 4 of 4 checks answered
  5. 2026-11-06: 4 of 4 checks answered
  6. 2026-11-07: 2 of 2 checks answered
  7. 2026-11-09: 1 of 1 checks answered
  8. 2026-11-10: 2 of 2 checks answered
  9. 2026-11-11: 1 of 1 checks answered
  10. 2026-11-12: 1 of 1 checks answered
  11. 2026-11-14: 1 of 1 checks answered
  12. 2026-11-15: 2 of 2 checks answered
  13. 2026-11-16: 4 of 4 checks answered
  14. 2026-11-17: 5 of 5 checks answered
  15. 2026-11-18: 5 of 5 checks answered
  16. 2026-11-19: 4 of 4 checks answered
  17. 2026-11-20: 3 of 3 checks answered
  18. 2026-11-21: 4 of 4 checks answered
  19. 2026-11-22: 4 of 4 checks answered
  20. 2026-11-23: 3 of 3 checks answered
  21. 2026-11-24: 4 of 4 checks answered
  22. 2026-11-25: 4 of 4 checks answered
  23. 2026-11-26: 4 of 4 checks answered
  24. 2026-11-27: 4 of 4 checks answered
  25. 2026-11-28: 2 of 2 checks answered

30-day availability

Aggregated from read-only remote checks; this is not a tool-execution or security guarantee.

Successful checks
2 of 2 (100%)
Average latency
1269 ms
95th percentile latency
1531 ms

Maintenance history

Public check and source-refresh events. Editorial and ownership records remain private.

  • · probe · passed · 1560 ms · 2 tool(s)
  • · probe · passed · 978 ms · metadata changed · 2 tool(s)
  • · repository · passed · unavailable
  • · repository · passed · metadata changed · unavailable
  • · repository · failed · Repository maintenance failed
  • · registry · passed · metadata changed · Source metadata updated
  • · backfill · recorded · Pre-expansion baseline; unobserved rich metadata remains unknown

Connect from your client

Each snippet registers the same endpoint; pick the client you use.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Claude Code

Run this once in a terminal. It registers the remote server. Use --scope project to write .mcp.json for the repo.
Claude Code configuration
claude mcp add --transport http sports-rules-mcp https://sports-rules.gumballtools.com/api/mcp

Codex

Run this once. Codex stores MCP servers in ~/.codex/config.toml (or .codex/config.toml in a trusted project).
Codex configuration
codex mcp add sports-rules-mcp --url https://sports-rules.gumballtools.com/api/mcp

Cursor

Merge this server into .cursor/mcp.json in your project, then enable sports-rules-mcp in your MCP settings.
Cursor configuration
{
  "mcpServers": {
    "sports-rules-mcp": {
      "url": "https://sports-rules.gumballtools.com/api/mcp"
    }
  }
}

Cline

Merge this into cline_mcp_settings.json (Cline → MCP Servers → Configure).
Cline configuration
{
  "mcpServers": {
    "sports-rules-mcp": {
      "type": "streamableHttp",
      "url": "https://sports-rules.gumballtools.com/api/mcp",
      "disabled": false
    }
  }
}

VS Code

Merge this server into .vscode/mcp.json. Use MCP: List Servers to start sports-rules-mcp and inspect its tools.
VS Code configuration
{
  "servers": {
    "sports-rules-mcp": {
      "type": "http",
      "url": "https://sports-rules.gumballtools.com/api/mcp"
    }
  }
}

Gemini CLI

Run this once. It writes .gemini/settings.json in the current project; pass --scope user for ~/.gemini/settings.json.
Gemini CLI configuration
gemini mcp add --transport http sports-rules-mcp https://sports-rules.gumballtools.com/api/mcp

Claude Desktop

Open Claude Settings > Connectors > Add custom connector, enter this server URL and enable it for the conversation. This is a manual remote-connector handoff, not a desktop JSON configuration.
Claude Desktop configuration
https://sports-rules.gumballtools.com/api/mcp

Windsurf

Merge this into ~/.codeium/windsurf/mcp_config.json, then refresh MCP in Cascade. Windsurf remote servers use serverUrl, not url.
Windsurf configuration
{
  "mcpServers": {
    "sports-rules-mcp": {
      "serverUrl": "https://sports-rules.gumballtools.com/api/mcp"
    }
  }
}

Let your agent find its tools

Find servers like Sports Rules MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.

Frequently asked questions

Can this server determine offside calls in soccer?
Yes. The `offside` tool allows agents to determine offside status in soccer based on IFAB Law 11, considering player positions and involvement.
Does connecting require an account?
No sign-in is required to connect and list tools. However, individual tools may still need a vendor account, credentials, or permissions. Check the documented prerequisites for each tool.
What hockey rule does this server support?
The server supports NHL Rule 83. Agents can use the `offside` tool to check offside positions in hockey based on player positions and involvement.
Can I get machine-readable rule verdicts?
Yes. The server exposes a pure function via Streamable HTTP, supporting both JSON API and MCP protocols for rule verification and machine-readable outputs.

Do you run Sports Rules MCP?

Prove ownership with a DNS record, a well-known file, or your Official MCP Registry entry, and your edits publish immediately. Proofs are re-checked weekly; admins can still hide or remove a listing.

Claim this listing