vccs
Composable charting components for Vue 3, ported from Recharts
Plataforma de legislación mexicana abierta. 30,000+ leyes federales, estatales y municipales con búsqueda avanzada.
Translation pending
DataPython · TypeScriptGitHub @madfam-orgOnlineOwner unconfirmed
Have you tried it? One tap is enough. No sign-in needed.
No updates detected yet. GitHub releases will appear here.
Owners of public repositories under a personal GitHub account can sign in to verify ownership and manage the introduction themselves. No administrator approval is needed.
Sign in, generate a verification file, and commit it to this repository’s default branch within 30 minutes. Files on other branches or forks do not count. Then check the file below to manage the project without administrator approval. Keep the file to retain your access.
If needed, you will go to sign-in. After signing in, return here and press your chosen verification button again.
Run /nomorevibe verify in your project folder to verify ownership and manage the introduction yourself.
Verify in one minuteAsk about other verification options
Open legal intelligence for Mexico. 30,000+ laws across federal, state, and municipal sources · 3.5M+ searchable articles · trilingual UI (Spanish · English · Classical Nahuatl) · first-party RAG chat · OpenAPI + SDKs · built so citizens, accountants, lawyers, and AI agents can navigate Mexican law as code.
Taken from the repository README
Loading the full README. The saved excerpt is shown below.
Tezca handles legal/compliance data, official-source scraping, search indexes, API keys, webhooks, chat/LLM prompts, billing handoffs, and package/deploy publishing paths.
Scrapers, RMF/DOF ingestion, index rebuilds, exports, webhooks, Selva chat, DB mutations, and publish/deploy flows are side-effectful. Keep examples placeholder-only and set the matching local guard env var only for an explicit operation.Read the full README ↗[!IMPORTANT] Tezca handles legal/compliance data, official-source scraping, search indexes, API keys, webhooks, chat/LLM prompts, billing handoffs, and package/deploy publishing paths. Scrapers, RMF/DOF ingestion, index rebuilds, exports, webhooks, Selva chat, DB mutations, and publish/deploy flows are side-effectful. Keep examples placeholder-only and set the matching local guard env var only for an explicit operation.
The definitive digital platform for Mexican legal research - comprehensive, machine-readable database of Mexican laws (federal, state, municipal) with intuitive interfaces for professionals and citizens.
Coverage: 93.9% of Legislative Laws (11,696 of 12,456) + 18,439 non-legislative (30,343 total) — [sourced from data/universe_registry.json]
Status: Production Ready
Install Dependencies
npm install # Frontend (all workspaces)
poetry install # Backend (Python)
cp .env.example .env # Configure environment
Start Development Servers
npm run dev:web # Public portal → http://localhost:3000
npm run dev:admin # Admin console → http://localhost:3001
poetry run python manage.py runserver # API → http://localhost:8000
Docker (all services)
docker compose up -d # API, Celery, Web, Admin, PostgreSQL, Redis, Elasticsearch
All numbers sourced from data/universe_registry.json with links to official sources.
| Level | Laws | Universe | Coverage | Source |
|---|---|---|---|---|
| Federal | 333/336 | 336 | 99.1% | Cámara de Diputados |
| State (Legislativo) | 11,363/12,120 | 12,120 | 93.7% | OJN - Poder Legislativo |
| State (Other Powers) | 18,439/23,660 | 23,660 | 77.9% | OJN - Poderes 1/3/4 |
| Municipal | 208 | Unknown | N/A | 5 city portals (no census exists) |
| Leyes Vigentes | 11,696/12,456 | 12,456 | 93.9% | Federal + State Legislativo |
Note: 782 OJN links are permanently dead (Michoacán 504, EDOMEX 141, SLP 47). Municipal universe is unknown — INEGI reports 2,468 municipalities but no authoritative count of municipal laws exists.
all: true denominator/api/docs//acerca-de brand page with mission statement/favoritos pageThis project uses a monorepo architecture managed by NPM Workspaces.
/
├── packages/
│ ├── ui/ # Shared UI Library (@tezca/ui) - React 19 / Shadcn
│ ├── lib/ # Shared Utilities & Types (@tezca/lib)
│ ├── api-client/ # TypeScript SDK (@tezca/api-client)
│ └── tsconfig/ # Shared TypeScript configurations
├── apps/
│ ├── web/ # Public Portal (Next.js 16)
│ ├── admin/ # Management Console (Next.js 16)
│ └── api/ # Backend API (Django / Python)
└── package.json # Workspace Root
Tezca is intended as a revenue-carrying product in MADFAM's compliance line, not an internal tool. It is aimed at the people whose work depends on knowing what Mexican law currently says — compliance officers, accountants, legal and regulatory teams — with the machine-readable API over the legal corpus as the principal commercial surface. Tezca is also an upstream data dependency for other MADFAM compliance products, which consume its feeds rather than re-deriving them.
Its place in the wider MADFAM pipeline is simply that of a product to be sold. Demand discovery, pricing, checkout, invoicing, and entitlement are each owned by other platforms; none of that path lives in this repository, and nothing here should grow a dependency on it.
Boundary note. This is a deliberately sanitized statement of Tezca's designed role. It is not a statement about the live state of any deployment, nor about current commercial availability. The canonical end-to-end description of the monetization pipeline is private and lives in the
internal-devopsrepository atdocs/monetization-engine.md. Catalog prices, payment and entitlement wiring, credential names, deployment topology, and tax/invoicing configuration belong there and must not be added to this repository.
Last Updated: 2026-07-26
tezca-mcp: tools, /health, host protection, Docker| Repository | Contract | Defined in |
|---|---|---|
| janua | Identity provider. apps/web and apps/admin are Janua OIDC clients; the API validates Janua RS256 JWTs (see docs/AUTH.md). | docs/guides/ECOSYSTEM_INTEGRATION.md |
| janua | Machine-to-machine tokens, for a service that calls Tezca's API with a Janua token instead of an API key. | docs/service-tokens.md |
| enclii | Deploy platform. enclii.yaml follows its service spec; the deploy-*.yml workflows build, pin digests in k8s/production/ and report to Enclii, which ArgoCD then syncs. | docs/reference/service-spec.md, docs/guides/EXTERNAL_REPO_DEPLOY.md |
| karafiel (consumer) | Reads Tezca's law feeds: the fiscal values feed and the labor rules (SAT catalogues) instead of hard-coding them. | This repo: docs/FISCAL_VALUES_FEED.md, |
| Metric | Result |
|---|---|
| Processing Speed | 23s per law |
| Parallel Speedup | 3-4x |
| Schema Compliance | 100% |
Phase 1: Federal Laws - ✅ COMPLETE
Phase 2: State Laws - ✅ COMPLETE
Phase 3: UI/UX Transformation - ✅ COMPLETE
Phase 4-7: Data Depth & Infrastructure - ✅ COMPLETE
Phase 8-9: Surface & Search Intelligence - ✅ COMPLETE
Phase 10-11: Professional Polish & User Magnet - ✅ COMPLETE
Phase 12: Full Legal Framework Data Gathering - ✅ COMPLETE
Phase 13: API Platform — Ecosystem & External Customers - ✅ COMPLETE
/bulk/articles/) + changelog (/changelog/) endpoints?domain=finance) on all endpoints@tezca/api-client) with auto-paginationPhase 14: Production & Growth - 🔄 IN PROGRESS
See: ROADMAP.md for detailed timeline and Strategic Overview for comprehensive vision
See CONTRIBUTING.md for guidelines.
AGPL-3.0 — see pyproject.toml for details.
tzk_ prefixed keys with SHA-256 hashing, tier-based access (free/pro/enterprise/internal)/bulk/articles/ endpoint with domain filtering (requires bulk scope)/changelog/?since= endpoint for incremental sync of law updates/fiscal/{uma,minimos,tables}/ versioned UMA, salario mínimo and ISR/subsidio tables with DOF provenance and ?on=YYYY-MM-DD point-in-time lookup (requires read scope). 2025 and 2026 are published with DOF provenance; the remaining gaps (annual Art. 152 tarifa for 2026, salarios mínimos profesionales, imss_rates/isn_rates) are listed rather than filled, so all_published stays false. See docs/FISCAL_VALUES_FEED.md and docs/fiscal/?domain=finance maps to category groups on all endpoints; API key domain restrictions@tezca/api-client package with auto-pagination, typed endpoints, error handling/admin/apikeys/)docs/labor/reglas.md| symbiosis-hcm (consumer) | Reads the labor feed (contract C1: article text in force on a date) and the fiscal values feed. | This repo: docs/labor/README.md, docs/FISCAL_VALUES_FEED.md |