Skip to main content
Glama
Maltese Financial Regulation MCP

Maltese Financial Regulation MCP

README.md
# Maltese Financial Regulation 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 -->


**Maltese financial regulation 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/maltese-financial-regulation-mcp/actions/workflows/ci.yml/badge.svg)](https://github.com/Ansvar-Systems/maltese-financial-regulation-mcp/actions/workflows/ci.yml)

Query Maltese financial regulation data -- regulations, decisions, and requirements from MFSA (Malta Financial Services Authority) -- directly from Claude, Cursor, or any MCP-compatible client.

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

---

## Available Tools (6)

| Tool | Description |
|------|-------------|
| `mt_fin_search_regulations` | Full-text search across MFSA Rules, Guidance Notes, and Circulars. Returns matching provisions from the Malta Financi... |
| `mt_fin_get_regulation` | Get a specific MFSA provision by sourcebook and reference. Accepts references like |
| `mt_fin_list_sourcebooks` | List all MFSA sourcebooks with their names and descriptions. |
| `mt_fin_search_enforcement` | Search MFSA enforcement actions — administrative penalties, licence withdrawals, and public warnings. Returns matchin... |
| `mt_fin_check_currency` | Check whether a specific MFSA provision reference is currently in force. Returns status and effective date. |
| `mt_fin_about` | Return metadata about this MCP server: version, data source, tool list. |

All tools return structured data with source references and timestamps.

---

## Data Sources and Freshness

All content is sourced from official Maltese regulatory publications:

- **MFSA (Malta Financial Services Authority)** -- 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](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 MFSA (Malta Financial Services Authority). 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/maltese-financial-regulation-mcp
cd maltese-financial-regulation-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 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](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

**License code:** `MT-MFSA-Attribution` — Malta Financial Services Authority (MFSA) website terms, attribution-based reuse grant.

**Verbatim grant** (MFSA disclaimer, recovered via [Wayback Machine 2026-05-17](https://web.archive.org/web/2025/https://www.mfsa.mt/disclaimer/) — live host at <https://www.mfsa.mt/disclaimer/> returns 403 to non-browser User-Agents):

> Reproduction of information obtained from this site is allowed provided reproduction is complete, accurate, not malicious, and is accompanied by a proper reference to the source and an acknowledgement to the MFSA.

Commercial reuse, derivatives, and redistribution are permitted with attribution. MFSA logos and hot-linking are separately restricted but do not affect content redistribution. See `sources.yml` for the anchored URL pattern and full provenance metadata.

Attribution: "Source: Malta Financial Services Authority (MFSA), <https://www.mfsa.mt>. Reproduced under the MFSA website attribution terms."

---

## 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.7/5.0

Scored across 6 tools

Disambiguation5/5

Each tool targets a distinct action+resource pair: full-text search vs. direct retrieval vs. listing sourcebooks vs. enforcement search vs. currency status. The search/get split is a natural and well-communicated distinction, and search_regulations vs. search_enforcement cover clearly separate corpora. No two tools appear to do the same thing.

Naming Consistency4/5

All six tools share the mt_fin_ prefix and snake_case verb_noun form (search_regulations, get_regulation, list_sourcebooks, search_enforcement, check_currency). The only deviation is mt_fin_about, which drops the verb entirely, but it remains predictable and readable.

Tool Count5/5

Six tools is a tight, well-scoped set for a read-only regulatory lookup server. Each tool earns its place: discovery (list), retrieval (get), two search surfaces, a status check, and server metadata. Nothing feels padded or missing at the count level.

Completeness4/5

The read-only research lifecycle is largely covered: discover sourcebooks, search, retrieve by reference, verify in-force status, and search enforcement. A minor gap is that enforcement actions can only be searched, not retrieved individually or listed, so an agent cannot reliably pull a specific decision by reference the way it can for provisions.

Maintenance

ActivityInactive
ResponsivenessNo recent community issues