Skip to content
Join the community

quipu shows how much of Peru's public budget is spent

Open MEF spending data for any municipality, region or sector, as a web page, a CLI and an MCP server.

Type the name of your district and quipu tells you how many of every 100 soles it has already spent this year. It covers any municipality, region or sector of Peru's public budget, with open MEF spending data for 2025 and 2026, and it needs no keys or accounts. The same figures come as a web page, a CLI with --json and an MCP server for AI agents. The package is on npm.

Spending progress for one entity, then a ranking of regional governments.

Progress compared with its peers#

quipu avance shows the budget for the year, what has been spent, the progress and the same month last year. A relative traffic light compares the entity with others at the same level: national, regional or local. It is not a verdict on management, only a hint of where to ask. Only closed months count, so the comparison with last year is fair.

Rankings, sectors and public works#

quipu ranking orders entities by progress and filters by level or department. quipu funciones shows what the money goes to, such as education, health or transport, and quipu obras lists the largest public works of the year with their declared progress.

An MCP server for agents#

quipu mcp starts an MCP server over stdio with tools to find an entity, read its progress, rank entities, break spending down by function and list its public works.

Try it#

npx -y @lizethriveros/quipu avance "municipalidad distrital de acoria"
npx -y @lizethriveros/quipu ranking --nivel gl --depto huancavelica --peores

Or add it to your agent:

{ "mcpServers": { "quipu": { "command": "npx", "args": ["-y", "@lizethriveros/quipu", "mcp"] } } }

It is unofficial and has no relation to the MEF. Progress is accrued spending divided by the current budget for the year.