Skip to content
View BEG-lag's full-sized avatar
🏠
Working from home
🏠
Working from home

Block or report BEG-lag

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Content in all repositories owned by your account will be closed.
Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
BEG-lag/README.md

Benjamín Esponda García. Corporate lawyer, energy and infrastructure, Mexico City. Law, compiled.

pivotek.mx  ·  LinkedIn  ·  beg.empleos@gmail.com  ·  Español

I'm a Mexican corporate lawyer (energy, hydrocarbons and mining, about eight years of practice) who builds the tools around the legal work. I write the analysis, and I also write the code that reads the Official Gazette, retrieves the right article, runs the numbers and checks the answer before it reaches a client.

Today in the Official Gazette

Mexico's Official Gazette, Friday, November 20, 2026: Decreto por el que se expide el Reglamento de la Ley Federal de Armas de Fuego y Explosivos. FIX 19.0270, UDI 8.923181.

Latest DOF edition, Friday, November 20, 2026: Decreto por el que se expide el Reglamento de la Ley Federal de Armas de Fuego y Explosivos. · 31 notes · FIX 19.0270 · UDI 8.923181 · search the archive · refreshed every morning

Law, compiled

Open-source tools that read, apply and audit Mexican law.

reforma-al-dia: AI agent that applies DOF reforms the same day leyes-mx: Mexican federal statutes as versioned Markdown mcp-leyes: point-in-time Mexican law for Claude mcp-dof: MCP server for Mexico's Official Gazette

Try it: AI reform scoreboard · federal laws

Open data

Public records turned into living datasets, APIs and visual stories.

constitucion-viva: interactive history of Mexico's Constitution radar-energia: daily radar of Mexico's energy sector indicadores-mx: Mexico's official indicators as a free static API dof-diario: daily archive of the Official Gazette

Try it: Constitution time machine · indicators API · energy radar · DOF archive search

Everyday tools

Small, private, useful every day.

hoy-circulo: can I drive today in Mexico City aumento-renta: how much can my rent go up in Mexico pension-imss: IMSS pension estimator finiquito-mx: severance calculator under Mexico's Federal Labor Law facturas-cfdi: invoice organizer that runs in your browser mis-laboratorios: private lab results tracker

Try it: ¿Hoy circulo? · rent increase · pension · severance · facturas-cfdi · mis-laboratorios

For Claude Code

How I work, packaged for anyone.

segundo-cerebro: second brain kit for Obsidian and Claude Code tema-clawds: Claude Code theme with 64 Clawds

Shipped, not public

Con Criterio An AI toolkit for Mexican lawyers: a guide, 7 Claude Code plugins by practice area and 7 drafting skills, grounded on a curated corpus of statutes and verified court criteria. On sale since November 2026, with payments, automated delivery and 101 automated tests.
Energy-law RAG Retrieval over 374 Mexican energy-law instruments split into 11,112 chunks along the hierarchy of the statutes, with hybrid search and a regression test set.
SupplySense A data pipeline over more than 560,000 public procurement contracts that shows oil and gas suppliers where the money goes.
Four websites concriterio.mx, pivotek.mx, casalegado.mx and carocomunicando.com.

The full story, with diagrams and anonymized client work, is in the portfolio and at pivotek.mx.

How I work

  • Every legal claim carries its source and cut-off date. Anything unverified is labeled as an estimate, an assumption or a data gap.
  • People stay in the loop wherever there is a signature, money or legal judgment.
  • Tests before trust. Golden sets for retrieval, hand-checked examples for calculators, CI on every repository.

Stack

Claude Code MCP Python TypeScript Next.js PostgreSQL and pgvector n8n GitHub Actions Vercel Cloudflare Workers Stripe Remotion

Law degree (Ibero), Master's in Business Law (Anáhuac), MBA (EAE Madrid). Spanish native, English professional. Nothing in these repositories is legal advice.

Pinned Loading

  1. dof-diario dof-diario Public

    Daily archive of Mexico's Diario Oficial de la Federación table of contents since 2025, kept up to date by GitHub Actions, with a searchable site.

    Python

  2. finiquito-mx finiquito-mx Public

    Finiquito y liquidación conforme a la Ley Federal del Trabajo, renglón por renglón y con el artículo de cada peso. Severance calculator for Mexico: TypeScript library + web app.

    TypeScript

  3. hoy-circulo hoy-circulo Public

    ¿Hoy circulo? Hoy No Circula, verificación y contingencias de la CAMe en CDMX y Edomex. Can I drive today? Installable offline PWA with .ics export. Unofficial, every rule cited.

    TypeScript

  4. leyes-mx leyes-mx Public

    Mexican federal law as code: 36 federal laws as Markdown in git, with 375 historical versions recovered from archived copies. Every reform is a commit dated on its DOF publication.

    Python

  5. mcp-dof mcp-dof Public

    MCP server for Mexico's Diario Oficial de la Federación (DOF): daily editions, full text of decrees, title search and FIX, UDIS and TIIE, from the official SIDOF API.

    Python

  6. segundo-cerebro segundo-cerebro Public

    A ready-to-install second brain for Claude Code: an Obsidian vault (projects, daily log, people, documents with expiry dates, Bases dashboards) plus the rules that make Claude read it before workin…

    Python