Skip to main content
Glama
Portuguese Competition MCP

Portuguese Competition MCP

Portuguese Competition MCP

▶ Try this MCP instantly via Ansvar Gateway

50 free queries/day · no card required · OAuth signup at ansvar.eu/gateway

One endpoint, one OAuth signup, access from any MCP-compatible client.

Connect

Claude Code (one line):

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

Claude Desktop / Cursor — add to claude_desktop_config.json (or mcp.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 flow at ansvar.eu/gateway. 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).

Portuguese competition data for AI compliance tools.

License CI

Query Portuguese competition data -- regulations, decisions, and requirements from AdC (Autoridade da Concorrencia) -- directly from Claude, Cursor, or any MCP-compatible client.

Built by Ansvar Systems -- Stockholm, Sweden


Related MCP server: Portuguese Cybersecurity MCP

Available Tools (6)

Tool

Description

pt_comp_search_decisions

Full-text search across AdC (Autoridade da Concorrencia) enforcement decisions (abuse of dominance, cartel, sector in...

pt_comp_get_decision

Get a specific AdC decision by case number (e.g.,

pt_comp_search_mergers

Search AdC merger control decisions (concentracoes de empresas). Returns merger cases with acquiring party, target, s...

pt_comp_get_merger

Get a specific AdC merger control decision by case number.

pt_comp_list_sectors

List all sectors with AdC enforcement activity, including decision counts and merger counts per sector.

pt_comp_about

Return metadata about this MCP server: version, data source, coverage, and tool list.

All tools return structured data with source references and timestamps.


Data Sources and Freshness

All content is sourced from official Portuguese regulatory publications:

  • AdC (Autoridade da Concorrencia) -- 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

See sources.yml for full provenance metadata.


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 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 AdC (Autoridade da Concorrencia). 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 | PRIVACY.md

Confidentiality

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


Development

Setup

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

Running Locally

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

Data Management

npm run build:db       # Rebuild SQLite database from seed data
npm run check-updates  # Check for new regulatory data

More Ansvar MCPs

Full fleet at ansvar.eu/gateway.

Contributing

Contributions welcome! See CONTRIBUTING.md for guidelines.


License

Apache License 2.0. See LICENSE for details.

Data Licenses

Regulatory data sourced from official government publications. See sources.yml for per-source licensing 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 -- Stockholm, Sweden


Available Tools

6 tools
pt_comp_aboutA

Return metadata about this MCP server: version, data source, coverage, and tool list.

Inputs: no named parameters.

pt_comp_get_decisionA

Get a specific AdC decision by case number (e.g., 'PRC/2023/1', 'Ccent/2022/5').

Inputs: case_number (required).

pt_comp_get_mergerA

Get a specific AdC merger control decision by case number.

Inputs: case_number (required).

pt_comp_list_sectorsA

List all sectors with AdC enforcement activity, including decision counts and merger counts per sector.

Inputs: no named parameters.

pt_comp_search_decisionsA

Full-text search across AdC (Autoridade da Concorrencia) enforcement decisions (abuse of dominance, cartel, sector inquiries). Returns matching decisions with case number, parties, outcome, fine amount, and Lei da Concorrencia articles cited.

Inputs: query (required), type, limit, sector, +1 more.

pt_comp_search_mergersA

Search AdC merger control decisions (concentracoes de empresas). Returns merger cases with acquiring party, target, sector, and outcome.

Inputs: query (required), limit, sector, outcome.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.1/5.0

    Scored across 6 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose: search vs. get, decisions vs. mergers, plus aggregate sector info and metadata. No two tools overlap in functionality or intended use.

    Naming Consistency4/5

    The consistent pt_comp_ prefix and verb_noun pattern (search_decisions, get_decision, search_mergers, get_merger, list_sectors) make naming predictable. The 'about' tool breaks the verb_noun pattern slightly, and there's a minor singular/plural mismatch between search and get, but these are trivial.

    Tool Count5/5

    Six tools is an appropriate scope for a focused competition law database: two resource types each with search and get, plus a sector overview and server metadata. Nothing feels redundant or missing.

    Completeness5/5

    For a read-only legal information server, the surface is complete: it offers both search and retrieval for the two core entity types (decisions and mergers), and list_sectors provides useful aggregate context. No dead ends or essential missing operations.

    Maintenance

    ActivityInactive
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers