@claudinho/mcp 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (4) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +68 -0
  3. package/dist/index.js +2881 -0
  4. package/package.json +54 -0
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Arturo Garrido
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,68 @@
1
+ # @claudinho/mcp ⚽
2
+
3
+ **An MCP server for the 2026 men's football tournament.** Ask your agent about
4
+ live scores, fixtures, and group standings — in Claude Code, Cursor, Codex, and
5
+ any other MCP client.
6
+
7
+ > ⚠️ **Not affiliated with, endorsed by, or connected to FIFA or Anthropic.**
8
+ > Claudinho is an independent, open-source fan project. Factual match data with
9
+ > emoji flags only — no logos, crests, kits, footage, or player likenesses.
10
+
11
+ ## Install
12
+
13
+ **Claude Code**
14
+ ```bash
15
+ claude mcp add claudinho -- npx -y @claudinho/mcp
16
+ ```
17
+
18
+ **Cursor** — add to `.cursor/mcp.json` (project) or `~/.cursor/mcp.json` (global):
19
+ ```json
20
+ { "mcpServers": { "claudinho": { "command": "npx", "args": ["-y", "@claudinho/mcp"] } } }
21
+ ```
22
+
23
+ **Codex CLI** — add to `~/.codex/config.toml`:
24
+ ```toml
25
+ [mcp_servers.claudinho]
26
+ command = "npx"
27
+ args = ["-y", "@claudinho/mcp"]
28
+ ```
29
+ (or `codex mcp add claudinho -- npx -y @claudinho/mcp`)
30
+
31
+ Transport is stdio, so the same package works in Windsurf, Zed, VS Code, and
32
+ any other MCP client with no changes.
33
+
34
+ ## Tools
35
+
36
+ | Tool | What it does |
37
+ |---|---|
38
+ | `get_today` | fixtures for a date (default: today), live scores overlaid |
39
+ | `get_live` | matches in play right now |
40
+ | `get_match` | a single match by id |
41
+ | `get_standings` | group table(s) — one group `A`–`L`, or all |
42
+ | `get_next_fixture` | a team's next match (3-letter code, e.g. `MEX`) |
43
+
44
+ All tools are **read-only** (annotated `readOnlyHint`) and accept optional
45
+ `tz` (IANA timezone) and `lang` (`en`/`es`/`pt`/`fr`) arguments. Each response
46
+ includes both human-readable text and structured JSON.
47
+
48
+ ## Resources & prompts
49
+
50
+ - Resources: `standings://{group}` (e.g. `standings://A`), `fixtures://{date}` (e.g. `fixtures://2026-06-11`)
51
+ - Prompts: `tournament_today`, `my_team`
52
+
53
+ ## Other competitions
54
+
55
+ By default the server follows the 2026 World Cup. Set the `CLAUDINHO_COMPETITION`
56
+ env var (e.g. `fifa.friendly`) to point the live tools at another ESPN
57
+ competition — useful for testing before the tournament. In Claude Code, add it
58
+ to the `env` block of your MCP server entry.
59
+
60
+ ## How it works
61
+
62
+ The fixture list ships bundled in the package; only live state hits the network
63
+ (ESPN by default, via a swappable adapter). The server writes nothing to stdout
64
+ except the MCP protocol; diagnostics go to stderr.
65
+
66
+ ## License
67
+
68
+ MIT © 2026 Arturo Garrido · [source & issues](https://github.com/arturogarrido/claudinho)