Skip to main content
Glama
README.md
# Czech Competition MCP

<!-- ANSVAR-CTA-BEGIN -->
> **The Czech competition corpus is now served through the Ansvar Gateway.** Connect your AI assistant (Claude, Copilot, Cursor, custom MCP client) to `https://gateway.ansvar.eu/mcp` — one OAuth connection, free tier available, covering this corpus plus EU regulations, national law across dozens of audited jurisdictions (Europe + the US), and CVE/security intelligence, every result with a verbatim source citation. Start at https://ansvar.eu/docs/quickstart

### Connect

**Claude Code** (one line):

```bash
claude mcp add ansvar --transport http https://gateway.ansvar.eu/mcp
```

**Claude Desktop / Cursor** — add to `claude_desktop_config.json` (or `mcp.json`):

```json
{
  "mcpServers": {
    "ansvar": {
      "type": "url",
      "url": "https://gateway.ansvar.eu/mcp"
    }
  }
}
```

**Claude.ai** — Settings → Connectors → Add custom connector → paste `https://gateway.ansvar.eu/mcp`

First request opens an OAuth signup flow (setup details: [ansvar.eu/docs/quickstart](https://ansvar.eu/docs/quickstart)). After signup, your client is bound to your account; tier (free / premium / team / company) determines fan-out, quota, and which downstream MCPs are reachable.

---

## Self-host this MCP

You can also clone this repo and build the corpus yourself. The schema,
fetcher, and tool implementations all live here. What is not in the repo is
the pre-built database — TDM and standards-licensing constraints on the
upstream sources mean we host the corpus on Ansvar infrastructure rather
than redistribute it as a public artifact.

Build your own: run this repo's ingestion script (entry-point varies per
repo — typically `scripts/ingest.sh`, `npm run ingest`, or `make ingest`;
check the repo root).
<!-- ANSVAR-CTA-END -->


**Czech competition data for AI compliance tools.**

[![License](https://img.shields.io/badge/License-Apache_2.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
[![CI](https://github.com/Ansvar-Systems/czech-competition-mcp/actions/workflows/ci.yml/badge.svg)](https://github.com/Ansvar-Systems/czech-competition-mcp/actions/workflows/ci.yml)
[![Build](https://github.com/Ansvar-Systems/czech-competition-mcp/actions/workflows/ghcr-build.yml/badge.svg)](https://github.com/Ansvar-Systems/czech-competition-mcp/actions/workflows/ghcr-build.yml)

Query Czech competition data -- regulations, decisions, and requirements from UOHS (Office for the Protection of Competition) -- directly from Claude, Cursor, or any MCP-compatible client.

Built by [Ansvar Systems](https://ansvar.eu) -- Stockholm, Sweden

---

## Available Tools (8)

| Tool | Description |
|------|-------------|
| `cz_comp_search_decisions` | Full-text search across UOHS competition enforcement decisions. Covers abuse of dominance, cartel enforcement, public... |
| `cz_comp_get_decision` | Get a specific UOHS competition decision by case number (e.g., 'UOHS-S0001/2024/KD'). |
| `cz_comp_search_mergers` | Search UOHS merger control decisions. Returns merger cases with acquiring party, target, sector, turnover thresholds,... |
| `cz_comp_get_merger` | Get a specific UOHS merger control decision by case number (e.g., 'UOHS-S0010/2024/KS'). |
| `cz_comp_list_sectors` | List all industry sectors with UOHS enforcement activity covered in this MCP, with decision and merger counts. |
| `cz_comp_about` | Return metadata about this MCP server: version, data source, coverage, and tool list. |
| `cz_comp_list_sources` | List authoritative data sources with provenance metadata (URL, authority, scope, license, update frequency). |
| `cz_comp_check_data_freshness` | Check data freshness: returns the latest decision/merger dates and record counts. |

See [TOOLS.md](TOOLS.md) for full parameter documentation.

All tools return structured data with source references and timestamps.

---

## Data Sources and Freshness

All content is sourced from official Czech regulatory publications:

- **UOHS (Office for the Protection of Competition)** -- Official regulatory authority

### Data Currency

- Database updates are periodic and may lag official publications
- Freshness checks run via GitHub Actions workflows
- Last-updated timestamps in tool responses indicate data age

Use the `cz_comp_list_sources` tool for full provenance metadata, or see [COVERAGE.md](COVERAGE.md).

---

## Security

This project uses multiple layers of automated security scanning:

| Scanner | What It Does | Schedule |
|---------|-------------|----------|
| **CodeQL** | Static analysis for security vulnerabilities | Weekly + PRs |
| **Semgrep** | SAST scanning (OWASP top 10, secrets, TypeScript) | Every push |
| **Gitleaks** | Secret detection across git history | Every push |
| **Trivy** | CVE scanning on filesystem and npm dependencies | Daily |
| **Docker Security** | Container image scanning + SBOM generation | Daily |
| **Socket.dev** | Supply chain attack detection | PRs |
| **Dependabot** | Automated dependency updates | Weekly |

See [SECURITY.md](SECURITY.md) for the full policy and vulnerability reporting.

---

## Important Disclaimers

### Not Regulatory Advice

> **THIS TOOL IS NOT REGULATORY OR LEGAL ADVICE**
>
> Regulatory data is sourced from official publications by UOHS (Office for the Protection of Competition). However:
> - This is a **research tool**, not a substitute for professional regulatory counsel
> - **Verify all references** against primary sources before making compliance decisions
> - **Coverage may be incomplete** -- do not rely solely on this for regulatory research

**Before using professionally, read:** [DISCLAIMER.md](DISCLAIMER.md) | [PRIVACY.md](PRIVACY.md)

### Confidentiality

Queries go through the Claude API. For privileged or confidential matters, use on-premise deployment. See [PRIVACY.md](PRIVACY.md) for details.

---

## Development

### Setup

```bash
git clone https://github.com/Ansvar-Systems/czech-competition-mcp
cd czech-competition-mcp
npm install
npm run build
npm test
```

### Running Locally

```bash
npm run dev                                       # Start MCP server
npx @anthropic/mcp-inspector node dist/index.js   # Test with MCP Inspector
```

### Data Management

```bash
npm run seed    # Seed the SQLite database with sample data
npm run ingest  # Ingest latest data from UOHS website
```

---

## More Ansvar MCPs

Full fleet coverage at [ansvar.eu/coverage](https://ansvar.eu/coverage).
## Contributing

Contributions welcome! See [CONTRIBUTING.md](CONTRIBUTING.md) for guidelines.

---

## License

Apache License 2.0. See [LICENSE](./LICENSE) for details.

### Data Licenses

Regulatory data sourced from official government publications. See [COVERAGE.md](COVERAGE.md) for per-source details.

---

## About Ansvar Systems

We build AI-powered compliance and legal research tools for the European market. Our MCP fleet provides structured, verified regulatory data to AI assistants -- so compliance professionals can work with accurate sources instead of guessing.

**[ansvar.eu](https://ansvar.eu)** -- Stockholm, Sweden

---

<p align="center">
  <sub>Built with care in Stockholm, Sweden</sub>
</p>

TDQS

A3.9/5.0

Scored across 6 tools

Disambiguation5/5

Each tool has a clearly distinct role: searching decisions, retrieving a specific decision, searching mergers, retrieving a specific merger, listing sectors, and returning server metadata. The search/get pairs are cleanly separated by resource and action, with no meaningful overlap.

Naming Consistency4/5

The namespace prefix `cz_comp_` plus snake_case is used consistently across all six tools, and five follow a clear verb_noun pattern. `cz_comp_about` is a minor deviation, but it is a conventional metadata endpoint and remains readable.

Tool Count5/5

Six tools is a well-scoped surface for a focused legal decision retrieval server. Each tool earns its place without redundant or thin coverage.

Completeness4/5

The server covers search and retrieval for both competition decisions and merger decisions, plus sector-level discovery and server metadata. Coverage is strong for a read-only reference tool, though advanced filtering or party-based lookup could be useful additions.

Maintenance

ActivityInactive
ResponsivenessNo recent community issues