mcp-sinim
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcp-sinimsearch variables about education spending"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
mcp-sinim
Pull Chilean municipal data from SINIM without memorizing variable codes or wrestling with raw exports. Search the catalog, build tidy municipal panels, and use the same package from Python or any MCP-compatible client.
What You Can Do
Search roughly 480 SINIM variables by natural language instead of memorizing
id_datocodes.Pull one or many municipal indicators as tidy
pandaspanels in one call.Discover available years and municipality codes directly from the live portal.
Use the same package in notebooks, scripts, or MCP clients.
Work with an offline catalog snapshot plus optional metadata caching.
Related MCP server: Kolada MCP Server
Installation
pip install mcp-sinimPython Example
from mcp_sinim import SINIMClient
client = SINIMClient(corrmon=True)
# 1) Find the right variable code
hits = client.search("patentes municipales")
print(hits[["code", "name"]].head(3).to_string(index=False))
# 2) Pull a tidy municipal panel
df = client.get(
["4173", "1311"],
years=[2024],
municipios=["13101", "13114", "13119"], # Santiago, Las Condes, Providencia
)
print(df.head().to_string(index=False))
# 3) Explore metadata when needed
print(client.years()[-5:])
print(client.search_municipios("providencia"))Main things you will use:
search(...)to find variable codesget(...)to pull municipal datamunicipios(...)andsearch_municipios(...)to work with legal municipality codesyears()to see what is currently available
MCP Server
Use mcp-sinim when you want an MCP client to search SINIM variables, inspect
their metadata, and fetch municipal data without writing a custom wrapper.
Run the server after installation:
mcp-sinimTypical MCP configuration:
{
"mcpServers": {
"sinim": {
"command": "mcp-sinim"
}
}
}Optional environment variable:
MCP_SINIM_CACHE_DIRfor the metadata disk cache
MCP tools
Tool | Description |
| Search the SINIM variable catalog by keyword. |
| Return metadata for one SINIM variable code. |
| Retrieve tidy municipal records for one or many variables. |
| List the 9 catalog subject areas. |
| List municipalities, optionally filtered by region. |
| List currently available SINIM years. |
Important Notes
cod_municipiomatches the official SUBDERE CUT codes for the 345 municipalities present in SINIM.corrmon=Truerequests SINIM's real-value series, expressed in pesos of the most recent published year.This is an independent open-source client for the public SINIM portal. It is not affiliated with SUBDERE or the Gobierno de Chile.
Development
git clone https://github.com/MaykolMedrano/mcp_sinim
cd mcp_sinim
python -m venv .venv
.venv/Scripts/activate
pip install -e ".[dev]"
python -m ruff check .
python -m ruff format --check .
python -m pytestLicense
MIT. See LICENSE.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/MaykolMedrano/mcp_sinim'
If you have feedback or need assistance with the MCP directory API, please join our Discord server