TAS/CAS Jurisprudence MCP Server

TAS/CAS Jurisprudence MCP Server

Enables searching and retrieving arbitration decisions from the Court of Arbitration for Sport (CAS/TAS) for sports law research.

Category
Visit Server

README

TAS/CAS Jurisprudence MCP Server

Court of Arbitration for Sport (TAS/CAS) decision search and retrieval

Overview

This MCP server provides tools to search and retrieve arbitration decisions from the Court of Arbitration for Sport (CAS/TAS). It enables Claude to research sports law precedents, anti-doping cases, and commercial sports disputes.

Available Tools

cas_search

Search CAS/TAS arbitration decisions by keywords, sport, year range, or procedure type.

Parameters:

  • query (required): Search query for case content, parties, or keywords
  • sport (optional): Filter by sport (e.g., "Football", "Cycling", "Athletics")
  • year_from (optional): Filter decisions from this year (1984-2026)
  • year_to (optional): Filter decisions until this year (1984-2026)
  • procedure_type (optional): Filter by type - "Appeal", "Ordinary", "Anti-Doping", "Advisory"
  • page (optional): Page number (default: 1)
  • page_size (optional): Results per page, max 25 (default: 10)

cas_get_award

Retrieve detailed information about a specific CAS/TAS award.

Parameters:

  • case_number (optional): CAS case number (e.g., "CAS 2023/A/9876")
  • url (optional): Direct URL to the award page
  • include_full_text (optional): Include full PDF text (default: false)

cas_recent

Get the most recent CAS/TAS arbitration decisions.

Parameters:

  • limit (optional): Maximum number of decisions (1-50, default: 10)

cas_by_sport

Browse CAS/TAS decisions by sport category.

Parameters:

  • sport (required): Sport to browse (e.g., "Football", "Cycling")
  • page (optional): Page number (default: 1)

Installation

# Navigate to server directory
cd mcp-servers/tas-jurisprudence

# Install dependencies
npm install

# Build TypeScript
npm run build

# Run locally
npm run dev

Deployment

Railway

This server is designed for Railway deployment with HTTP transport:

# From the tas-jurisprudence directory
railway up

Configuration:

  • Set custom domain: tas.bettercallclaude.ch
  • MCP endpoint: https://tas.bettercallclaude.ch/tas-jurisprudence/mcp

Client Configuration

Claude Desktop

For local stdio transport (not recommended for this server):

{
  "mcpServers": {
    "tas-jurisprudence": {
      "command": "node",
      "args": ["/path/to/mcp-servers/tas-jurisprudence/dist/index.js"]
    }
  }
}

Remote HTTP Transport

For Railway deployment:

{
  "mcpServers": {
    "tas-jurisprudence": {
      "url": "https://tas.bettercallclaude.ch/tas-jurisprudence/mcp",
      "transport": "http"
    }
  }
}

Technical Details

Architecture

  • Transport: Streamable HTTP (Express.js)
  • Scraping: Playwright for JavaScript-rendered content
  • Caching: In-memory LRU cache with configurable TTL
  • Rate Limiting: 10-second crawl delay (respects robots.txt)

Cache TTLs

  • Search results: 10 minutes
  • Award details: 30 minutes
  • Recent decisions: 5 minutes
  • Sport browse: 15 minutes

Data Sources

  • Main database: jurisprudence.tas-cas.org (JavaScript-rendered)
  • Recent decisions: tas-cas.org/en/jurisprudence/recent-decisions.html
  • PDF files: tas-cas.org/files/decision/

Legal Notice

CAS awards are publicly accessible, but their content is subject to copyright. This server:

  • Provides metadata and summaries by default
  • Links to official PDF sources rather than redistributing content
  • Respects robots.txt crawl-delay requirements
  • Is intended for legitimate legal research purposes

For full award redistribution, CAS permission may be required.

Development

# Run tests
npm test

# Watch mode
npm run test:watch

# Clean build artifacts
npm run clean

Troubleshooting

No search results

  • The CAS database requires JavaScript rendering
  • Ensure Playwright/Chromium is properly installed
  • Check rate limiter isn't blocking requests

Memory issues in production

  • Single browser instance is reused
  • Pages are closed after each operation
  • Implement periodic browser restart for long-running instances

Rate limiting errors

  • Default 10-second delay between requests
  • Increase CRAWL_DELAY_MS if getting blocked
  • Check CAS website status

License

MIT License - BetterCallClaude Project

Resources

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured