MatchBrief
MCP server for retrieving World Cup match briefs, fixtures, and event explanations with sourced, plain-language context.
README
MatchBrief
MatchBrief turns World Cup fixture and event feeds into sourced, plain-language context for fans and AI agents. It ships as:

- a public REST demo;
- a stateless MCP Streamable HTTP server;
- an Injective EVM USDC x402 route;
- an OKX / X Layer x402 route suitable for an A2MCP listing; and
- a portable Agent Skill with strict provenance and non-financial guardrails.
The bundled replay is intentionally synthetic and visibly labelled. Add official TxLINE credentials to switch the service to its live/historical World Cup adapter.
Why it exists
Live sports feeds are optimized for machines, not ordinary fans. Raw actions, clocks, confirmation flags, and nested score objects need interpretation before an assistant can safely explain what changed. MatchBrief normalizes those updates, keeps the source and freshness attached, and never converts sports context into betting or investment advice.
Quick start
cp .env.example .env
npm install
npm run dev
Open http://localhost:4021.
curl http://localhost:4021/health
curl http://localhost:4021/api/fixtures
curl http://localhost:4021/api/brief/demo-2026-001
curl http://localhost:4021/api/free/brief
curl http://localhost:4021/.well-known/agent.json
MCP
The Streamable HTTP endpoint is POST /mcp. It exposes:
list_world_cup_matchesget_match_briefexplain_match_event
The companion Agent Skill is at skills/matchbrief-world-cup/SKILL.md.
For an OKX listing that does not depend on payment credentials, use the free A2MCP-compatible endpoint GET /api/free/brief. A machine-readable service card is published at /.well-known/agent.json, and the OpenAPI document is at /openapi.json.
Injective technology
MatchBrief uses @injectivelabs/x402 to protect GET /api/injective/brief with USDC on Injective EVM. The default example configuration targets testnet (eip155:1439) and its documented USDC contract. Set INJECTIVE_PAY_TO to an EVM-compatible public payout address to enable the route.
The middleware returns an HTTP 402 challenge, verifies the EIP-3009 authorization through the configured facilitator, runs the brief handler, and settles only after a successful response. No private key belongs in the repository.
This project also uses the MCP server and Agent Skills patterns highlighted by Injective's AI developer materials. It does not claim a CCTP integration.
OKX / X Layer technology
MatchBrief uses the official OKX TypeScript payment packages to protect GET /api/okx/brief on X Layer (eip155:196). It is enabled only when all of these are present:
OKX_PAY_TOOKX_API_KEYOKX_SECRET_KEYOKX_PASSPHRASE
The public payout address is safe to configure; API credentials must stay in the deployment secret store. The route is designed for an OKX A2MCP service listing with fixed per-call pricing.
TxLINE World Cup data
Live/historical mode uses the documented endpoints:
GET /api/fixtures/snapshotGET /api/scores/historical/{fixtureId}
Set TXLINE_GUEST_JWT and TXLINE_API_TOKEN after completing TxLINE's free-tier activation flow. Keep both values secret. Until then, MatchBrief stays in deterministic demo mode and never passes synthetic events off as real.
Environment and wallet safety
- Never commit
.env. - Never paste a seed phrase, private key, one-time code, or wallet recovery material into a form, issue, chat, or AI prompt.
- Use testnet for demonstrations unless you deliberately choose a real-money route.
- Review every wallet signature and network before approving it.
- MatchBrief provides match information only, not betting, trading, or investment advice.
Tests
npm run typecheck
npm test
npm run build
Hackathon mapping
Injective Global Cup
- Functional World Cup tool: REST UI + MCP server.
- Meaningful Injective integration: x402 USDC route on Injective EVM.
- Additional new technology: MCP server and Agent Skill.
- Required deliverables still needed: public deployment, public GitHub repo, demo video, and disclosed X post.
OKX.AI Genesis Hackathon
- ASP type: A2MCP.
- Category fit: Software Utility or Lifestyle Companion.
- Service: fixed-price, machine-callable match context.
- Approval-first path: list the working free endpoint, then enable the paid X Layer route after credentials are configured.
- Required deliverables still needed: OKX Agentic Wallet login, ASP registration/listing and approval, public deployment, sub-90-second X demo, and hackathon form.
These are contests, not guaranteed work. Prize decisions and payout timing are controlled by their organizers.
See SUBMISSIONS.md for the account-side checklist, disclosure language, and distinct contest posts.
Primary documentation
- Injective x402: https://docs.injective.network/developers-ai/x402
- Injective AI developers: https://docs.injective.network/developers-ai
- MCP TypeScript SDK: https://ts.sdk.modelcontextprotocol.io/server
- OKX A2MCP guide: https://www.okx.ai/tutorial/asp
- OKX seller SDK: https://web3.okx.com/onchainos/dev-docs/payments/service-seller-sdk
- TxLINE World Cup free tier: https://txline.txodds.com/documentation/worldcup
- TxLINE fixtures API: https://txline.txodds.com/api-reference/fixtures/get-the-latest-snapshot-of-fixtures-optionally-starting-at-or-within-30-days-after-a-given-epoch-day
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。