Colombian legislation via MCP — full-text search across statutes and provisions
Colombian legislation via MCP — full-text search across statutes and provisions
Valid MCP server (3 strong, 2 medium validity signals). 2 known CVEs in dependencies (1 critical, 1 high severity) Package registry verified. Imported from the Official MCP Registry. Trust signals: trusted author (149/150 approved).
5 files analyzed · 3 issues found
Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.
This plugin requests these system permissions. Most are normal for its category.
Add this to your MCP configuration file:
{
"mcpServers": {
"eu-ansvar-colombian-law-mcp": {
"args": [
"-y",
"@ansvar/colombian-law-mcp"
],
"command": "npx"
}
}
}From the project's GitHub README.
The Secretaría del Senado alternative for the AI age.
Query Colombian legislation -- from Ley 1581 de protección de datos and the Código Penal to the Código Civil, Código de Comercio, and more -- directly from Claude, Cursor, or any MCP-compatible client.
If you're building legal tech, compliance tools, or doing Colombian legal research, this is your verified reference database.
Built by Ansvar Systems -- Stockholm, Sweden
Colombian legal research means navigating secretariasenado.gov.co, funcionpublica.gov.co, and the Diario Oficial's sprawling archive. Whether you're:
...you shouldn't need dozens of browser tabs and manual cross-referencing. Ask Claude. Get the exact provision. With context.
This MCP server makes Colombian law searchable, cross-referenceable, and AI-readable.
Connect directly to the hosted version -- zero dependencies, nothing to install.
Endpoint: https://mcp.ansvar.eu/law-co/mcp
| Client | How to Connect |
|---|---|
| Claude.ai | Settings > Connectors > Add Integration > paste URL |
| Claude Code | claude mcp add colombian-law --transport http https://mcp.ansvar.eu/law-co/mcp |
| Claude Desktop | Add to config (see below) |
| GitHub Copilot | Add to VS Code settings (see below) |
Claude Desktop -- add to claude_desktop_config.json:
{
"mcpServers": {
"colombian-law": {
"type": "url",
"url": "https://mcp.ansvar.eu/law-co/mcp"
}
}
}
GitHub Copilot -- add to VS Code settings.json:
{
"github.copilot.chat.mcp.servers": {
"colombian-law": {
"type": "http",
"url": "https://mcp.ansvar.eu/law-co/mcp"
}
}
}
npx @ansvar/colombian-law-mcp
Claude Desktop -- add to claude_desktop_config.json:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"colombian-law": {
"command": "npx",
"args": ["-y", "@ansvar/colombian-law-mcp"]
}
}
}
Cursor / VS Code:
{
"mcp.servers": {
"colombian-law": {
"command": "npx",
"args": ["-y", "@ansvar/colombian-law-mcp"]
}
}
}
Once connected, just ask naturally:
Initial release: The statute database is currently being populated. Premium data is available now.
| Category | Count | Details |
|---|---|---|
| Statutes | Initial release | Ingestion from secretariasenado.gov.co and funcionpublica.gov.co in progress |
| Provisions | Initial release | Full-text search will be available as corpus expands |
| Premium: Case Law | 29,284 decisions | Corte Constitucional, Corte Suprema, Consejo de Estado (Premium tier) |
| Premium: Preparatory Works | 119,424 documents | Gaceta del Congreso, exposiciones de motivos (Premium tier) |
| Premium: Agency Guidance | 31,809 documents | SIC, SFC, ANE circulares and conceptos (Premium tier) |
| Database Size | Pre-built SQLite | Optimized, portable |
Verified data only -- every citation is validated against official sources. Zero LLM-generated content.
The premium dataset is one of the richest in the fleet: 180,517 documents covering decisions from Colombia's three high courts plus 31,809 regulatory guidance documents from the SIC, SFC, and ANE. The free statute tier is under active ingestion.
Verbatim Source Text (No LLM Processing):
Smart Context Management:
Technical Architecture:
secretariasenado.gov.co / funcionpublica.gov.co --> Parse --> SQLite --> FTS5 snippet() --> MCP response
^ ^
Provision parser Verbatim database query
| Traditional Approach | This MCP Server |
|---|---|
| Search secretariasenado.gov.co by ley number | Search by plain language: "protección datos personales" |
| Navigate multi-article codes manually | Get the exact provision with context |
| Manual cross-referencing between laws | build_legal_stance aggregates across sources |
| "¿Está vigente esta ley?" -- check manually | check_currency tool -- answer in seconds |
| Find international alignment -- dig through external sources | get_eu_basis -- linked frameworks instantly |
| No API, no integration | MCP protocol -- AI-native |
Traditional: Buscar en secretariasenado.gov.co --> Navegar el código --> Ctrl+F --> Cruzar referencias --> Repetir
This MCP: "¿Qué obligaciones impone la Ley 1581 a los responsables del tratamiento de datos?" --> Done.
| Tool | Description |
|---|---|
search_legislation | FTS5 full-text search across provisions with BM25 ranking. Supports quoted phrases, boolean operators, prefix wildcards |
get_provision | Retrieve specific provision by law number + article (e.g., "Ley 1581 de 2012" + "artículo 15") |
check_currency | Check if a statute is in force, amended, or repealed |
validate_citation | Validate citation against database -- zero-hallucination check |
build_legal_stance | Aggregate citations from multiple statutes for a legal topic |
format_citation | Format citations per Colombian conventions (full/short/pinpoint) |
list_sources | List all available statutes with metadata, coverage scope, and data provenance |
about | Server info, capabilities, dataset statistics, and coverage summary |
| Tool | Description |
|---|---|
get_eu_basis | Get EU or international frameworks that a Colombian statute aligns with |
get_colombian_implementations | Find Colombian laws aligning with an international framework or treaty |
search_eu_implementations | Search international instruments with Colombian alignment counts |
get_provision_eu_basis | Get international law references for a specific provision |
validate_eu_compliance | Check alignment status of Colombian statutes against international standards |
Colombia is not an EU member state, but several Colombian laws have significant international alignment:
Colombia participates in OAS (Organisation of American States) legal frameworks, the Andean Community (CAN) supranational legal order, and Pacific Alliance trade agreements. CAN decisions have direct effect in Colombian law -- similar in structure to EU secondary legislation.
The international alignment tools allow you to explore these relationships -- checking which Colombian provisions correspond to international requirements, and vice versa.
Note: Cross-references reflect alignment and treaty relationships. Colombia adopts its own legislative approach shaped by its civil law tradition, constitutional framework (particularly the Corte Constitucional's tutela jurisprudence), and participation in CAN and OAS frameworks.
All content is sourced from authoritative Colombian legal databases:
| Field | Value |
|---|---|
| Authority | Secretaría del Senado de la República, Función Pública |
| Languages | Spanish (sole official legislative language) |
| Coverage | Federal (national) legislation; departmental and municipal law not included |
| Source | secretariasenado.gov.co, funcionpublica.gov.co |
Verified data only -- every citation is validated against official sources. Zero LLM-generated content.
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 |
| Socket.dev | Supply chain attack detection | PRs |
| Dependabot | Automated dependency updates | Weekly |
See SECURITY.md for the full policy and vulnerability reporting.
THIS TOOL IS NOT LEGAL ADVICE
Statute text is sourced from official Colombian government sources. However:
- This is a research tool, not a substitute for professional legal counsel
- Court case coverage in the free tier is not yet included -- consult the Corte Constitucional, Corte Suprema, and Consejo de Estado directly for case law
- Verify critical citations against primary sources before filing
- Departmental and municipal legislation is not included -- this covers national legislation only
- Initial release: statute coverage is being expanded; not all national laws may yet be present
Before using professionally, read: DISCLAIMER.md | SECURITY.md
Queries go through the Claude API. For privileged or confidential matters, use on-premise deployment. Consult Consejo Superior de la Judicatura guidelines on AI use in legal practice.
git clone https://github.com/Ansvar-Systems/Colombian-law-mcp
cd Colombian-law-mcp
npm install
npm run build
npm test
npm run dev # Start MCP server
npx @anthropic/mcp-inspector node dist/index.js # Test with MCP Inspector
npm run ingest # Ingest statutes from official sources
npm run build:db # Rebuild SQLite database
npm run drift:detect # Run drift detection against anchors
npm run check-updates # Check for source updates
This server is part of Ansvar's Compliance Suite -- MCP servers that work together for end-to-end compliance coverage:
Query 49 EU regulations directly from Claude -- GDPR, AI Act, DORA, NIS2, MiFID II, eIDAS, and more. npx @ansvar/eu-regulations-mcp
Query US federal and state compliance laws -- HIPAA, CCPA, SOX, GLBA, FERPA, and more. npx @ansvar/us-regulations-mcp
Query 261 security frameworks -- ISO 27001, NIST CSF, SOC 2, CIS Controls, SCF, and more. npx @ansvar/security-controls-mcp
70+ national law MCPs covering Argentina, Brazil, Chile, Ecuador, Guatemala, Mexico, Panama, Peru, Venezuela, and more.
Contributions welcome! See CONTRIBUTING.md for guidelines.
Priority areas:
If you use this MCP server in academic research:
@software{colombian_law_mcp_2026,
author = {Ansvar Systems AB},
title = {Colombian Law MCP Server: AI-Powered Legal Research Tool},
year = {2026},
url = {https://github.com/Ansvar-Systems/Colombian-law-mcp},
note = {Colombian federal legislation with premium case law and preparatory works dataset}
}
Apache License 2.0. See LICENSE for details.
We build AI-accelerated compliance and legal research tools for the global market. This MCP server started as our internal reference tool -- turns out everyone building compliance tools has the same research frustrations.
So we're open-sourcing it. Navigating Colombia's comprehensive code system shouldn't require a law degree.
ansvar.eu -- Stockholm, Sweden
Be the first to review this server!
by Modelcontextprotocol · Developer Tools
Read, search, and manipulate Git repositories programmatically
by Toleno · Developer Tools
Toleno Network MCP Server — Manage your Toleno mining account with Claude AI using natural language.
by mcp-marketplace · Developer Tools
Create, build, and publish Python MCP servers to PyPI — conversationally.
by Microsoft · Content & Media
Convert files (PDF, Word, Excel, images, audio) to Markdown for LLM consumption
by mcp-marketplace · Developer Tools
Scaffold, build, and publish TypeScript MCP servers to npm — conversationally
by mcp-marketplace · Finance
Free stock data and market news for any MCP-compatible AI assistant.