Croatian Data Protection MCP
# Croatian Data Protection MCP
<!-- ANSVAR-CTA-BEGIN -->
> ### ▶ Try this MCP instantly via Ansvar Gateway
> **50 free queries/day · no card required · OAuth signup at [ansvar.eu/gateway](https://ansvar.eu/gateway)**
>
> One endpoint, one OAuth signup, access from any MCP-compatible client.
### 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 flow at [ansvar.eu/gateway](https://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).
<!-- ANSVAR-CTA-END -->
**Croatian data protection data for AI compliance tools.**
[](https://opensource.org/licenses/Apache-2.0)
[](https://github.com/Ansvar-Systems/croatian-data-protection-mcp/actions/workflows/ci.yml)
Query Croatian data protection data -- regulations, decisions, and requirements from AZOP (Croatian Personal Data Protection Agency) -- directly from Claude, Cursor, or any MCP-compatible client.
Built by [Ansvar Systems](https://ansvar.eu) -- Stockholm, Sweden
---
## Available Tools (8)
| Tool | Description |
|------|-------------|
| `hr_dp_search_decisions` | Full-text search across AZOP decisions (rješenja, kazne, upozorenja). Returns matching decisions with reference, entity name, fine amount, and GDPR articles cited. |
| `hr_dp_get_decision` | Get a specific AZOP decision by reference number (e.g., `AZOP-2021-1234`, `UP/I-034-04/21-01/123`). |
| `hr_dp_search_guidelines` | Search AZOP guidance documents: smjernice, mišljenja, and preporuke. Covers GDPR implementation, DPIA, cookie consent, video surveillance, and more. |
| `hr_dp_get_guideline` | Get a specific AZOP guidance document by its database ID. |
| `hr_dp_list_topics` | List all covered data protection topics with Croatian and English names. Use topic IDs to filter decisions and guidelines. |
| `hr_dp_list_sources` | List all data sources with provenance metadata: authority, URL, jurisdiction, license, and scope. |
| `hr_dp_check_data_freshness` | Check data freshness: record counts, latest dates, and staleness status per source. |
| `hr_dp_about` | Return metadata about this MCP server: version, data source, coverage, and tool list. |
All tools return structured data with a `_meta` block (server, version, generated_at). See [TOOLS.md](TOOLS.md) for full parameter reference.
---
## Data Sources and Freshness
All content is sourced from official Croatian regulatory publications:
- **AZOP (Croatian Personal Data Protection Agency)** -- 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 [COVERAGE.md](COVERAGE.md) for full provenance metadata and topic coverage.
---
## 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 AZOP (Croatian Personal Data Protection Agency). 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/croatian-data-protection-mcp
cd croatian-data-protection-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 database with sample data
npm run ingest # Ingest latest data from AZOP
```
---
## More Ansvar MCPs
Full fleet at [ansvar.eu/gateway](https://ansvar.eu/gateway).
## 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) and [data/coverage.json](data/coverage.json) 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](https://ansvar.eu)** -- Stockholm, Sweden
---
<p align="center">
<sub>Built with care in Stockholm, Sweden</sub>
</p>
TDQS
Scored across 8 tools
The get_* vs search_* split is clean and the resource split (decisions vs guidelines) is explicit, so primary retrieval tools are easily distinguished. The only soft overlap is among the meta tools: hr_dp_about, hr_dp_list_sources, and hr_dp_check_data_freshness all return provenance-ish metadata, and an agent could reasonably pick the wrong one for 'where does this data come from / is it current'.
All tools share the hr_dp_ prefix and a verb_noun pattern (get_decision, search_decisions, list_topics, check_data_freshness), with singular/plural correctly tracking single-item vs multi-item operations. The lone deviation is the bare 'hr_dp_about', which breaks the verb_noun convention.
Eight tools is well-scoped for a read-only reference server: two resources times (search + get) plus four supporting/meta tools. Nothing appears redundant or padding, and nothing essential seems absent from the tool roster.
The surface covers the full read lifecycle for both decisions and guidelines, plus topic taxonomy, source provenance, and freshness checks — good coverage for an authoritative-data server where write operations are out of scope. Minor gaps: no way to browse/enumerate decisions or guidelines without a search query, and no facet/aggregate tool (e.g. decisions by topic, article, or fine range) despite topics being advertised as filters.