Skip to main content
Glama
Spanish Financial Regulation MCP

Spanish Financial Regulation MCP

Spanish Financial Regulation 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).

Spanish financial regulation data for AI compliance tools.

License CI

Query Spanish financial regulation data -- regulations, decisions, and requirements from CNMV/Banco de Espana -- directly from Claude, Cursor, or any MCP-compatible client.

Built by Ansvar Systems -- Stockholm, Sweden


Related MCP server: Hungarian Financial Regulation MCP

Available Tools (6)

Tool

Description

es_fin_search_regulations

Busqueda de texto completo en circulares y disposiciones de la CNMV y el Banco de Espana. Devuelve circulares, guias ...

es_fin_get_regulation

Obtener una circular o disposicion especifica por sourcebook y referencia. Acepta referencias como

es_fin_list_sourcebooks

Listar todos los sourcebooks disponibles: CNMV Circulares, Guias Tecnicas, Banco de Espana Circulares, y otros organi...

es_fin_search_enforcement

Buscar expedientes sancionadores y resoluciones disciplinarias de la CNMV y el Banco de Espana. Devuelve multas, sanc...

es_fin_check_currency

Verificar si una referencia normativa especifica esta actualmente en vigor. Devuelve el estado y la fecha de entrada ...

es_fin_about

Devolver metadatos sobre este servidor MCP: version, fuente de datos, lista de herramientas.

All tools return structured data with source references and timestamps.


Data Sources and Freshness

All content is sourced from official Spanish regulatory publications:

  • CNMV/Banco de Espana -- 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 CNMV/Banco de Espana. 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/spanish-financial-regulation-mcp
cd spanish-financial-regulation-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
es_fin_aboutA

Devolver metadatos sobre este servidor MCP: version, fuente de datos, lista de herramientas.

Inputs: no named parameters.

es_fin_check_currencyB

Verificar si una referencia normativa especifica esta actualmente en vigor. Devuelve el estado y la fecha de entrada en vigor.

Inputs: reference (required).

es_fin_get_regulationB

Obtener una circular o disposicion especifica por sourcebook y referencia. Acepta referencias como 'Circular 1/2022' o 'BdE Circular 2/2016 Art. 5'.

Inputs: reference (required), sourcebook (required).

es_fin_list_sourcebooksA

Listar todos los sourcebooks disponibles: CNMV Circulares, Guias Tecnicas, Banco de Espana Circulares, y otros organismos reguladores espanoles.

Inputs: no named parameters.

es_fin_search_enforcementB

Buscar expedientes sancionadores y resoluciones disciplinarias de la CNMV y el Banco de Espana. Devuelve multas, sanciones y resoluciones de entidades.

Inputs: query (required), limit, action_type.

es_fin_search_regulationsB

Busqueda de texto completo en circulares y disposiciones de la CNMV y el Banco de Espana. Devuelve circulares, guias tecnicas, y resoluciones que coincidan con la consulta. Full-text search across CNMV and Banco de Espana provisions.

Inputs: query (required), limit, status, sourcebook.

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    A3.7/5.0

    Scored across 6 tools

    Disambiguation5/5

    Each tool targets a distinct resource+action: full-text search vs. fetch-by-reference (search_regulations vs. get_regulation) is clearly separated, and search_enforcement, check_currency, list_sourcebooks, and about are all unmistakably different tasks. An agent can easily pick the right tool.

    Naming Consistency4/5

    All tools share the es_fin_ prefix and snake_case, and most follow verb_noun (check_currency, search_regulations, get_regulation, list_sourcebooks, search_enforcement). The metadata tool 'about' breaks the verb_noun pattern, a minor deviation.

    Tool Count5/5

    Six tools is well-scoped for a focused regulatory reference server. Each tool (search, get, list, check currency, search enforcement, about) earns its place with no filler.

    Completeness4/5

    The read-only reference surface covers discovery (list, search), retrieval (get), validity checking, and enforcement lookup, which is solid for the domain. Minor gaps remain, such as retrieving a specific enforcement case by reference or viewing regulation version/amendment history.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers