mcp-impo
mcp-impo
MCP-сервер для API открытых данных IMPO Уругвая с кэшированием SQLite.
Установка
pip install mcp-impoRelated MCP server: Spanish Public Data MCP
Использование
from mcp_impo import get_schema, get_norma, search_normas, get_base_info
# Get schema
schema = get_schema()
# Get specific norm
norma = get_norma("ley", 2024, "19850")
# Search
results = search_normas("seguridad social", tipo="ley", limit=10)
# Get available bases
bases = get_base_info()CLI
mcp-impo --helpИнструменты MCP
schema— Получение документации по JSON-схеме IMPOnorma— Получение конкретной нормы или уведомления (aviso)search— Поиск норм/уведомленийbases— Получение информации о доступных базах данных
Кэширование
Сервер использует кэширование SQLite с настраиваемым TTL:
Схема: 24 часа
Информация о базе: 1 час
Данные нормы: 1 час
Результаты поиска: 10 минут
Переопределите TTL для каждого запроса, передав параметр ttl (в секундах).
mcp-name: io.github.daedalus/mcp-impo
Разработка
git clone https://github.com/daedalus/mcp-impo.git
cd mcp-impo
pip install -e ".[test]"
# run tests
pytest
# format
ruff format src/ tests/
# lint
ruff check src/ tests/
# type check
mypy src/Available Tools
4 toolsbasesA
Get information about available bases in IMPO.
Returns metadata about the available databases and their structure from IMPO's datos abiertos service.
Inputs: ttl. Returns: result
normaC
Get a specific norma or aviso from IMPO.
Retrieves detailed information about a specific legal norm or notice from IMPO's database in JSON format.
Inputs: tipo (required), anio (required), nro (required), sec, +1 more. Returns: result
schemaA
Retrieve IMPO JSON schema documentation.
Returns the JSON schema defining the structure for normas and avisos from IMPO's datos abiertos API. This schema describes all available fields for Uruguayan legislation and official notices.
Inputs: ttl. Returns: object
searchB
Search for normas or avisos in IMPO database.
Performs a search across IMPO's database of Uruguayan legislation and official notices. Results can be filtered by type and year.
Inputs: query (required), tipo, anio, limit, +1 more. Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 4 tools
Each tool has a clearly distinct purpose: 'bases' retrieves database metadata, 'schema' provides the data structure, 'search' performs queries, and 'norma' fetches a specific record. No overlap or ambiguity.
Tool names are all single lowercase nouns (bases, norma, schema, search), following a consistent, predictable pattern without mixing conventions.
Four tools is well-scoped for a legislation/norm search service: metadata, schema, search, and retrieval cover the core functionality without excess or deficiency.
The set covers key operations: explore databases, understand schema, search, and retrieve specific items. Missing a direct 'list all normas' endpoint, but search can approximate it, so minor gap.
Maintenance
Related MCP Connectors
MCP server for Brazilian Federal Senate open data (legislative, administrative, e-Cidadania).
An MCP server for Georgian public data, read from the organizations that publish it.
Hosted MCP server for live public-data APIs and Skills for AI agents.
The Mercado Pago MCP Server implements the Model Context Protocol to provide AI agents and LLMs with access to Mercado Pago's APIs and tools within compatible development environments. It acts as an intermediary that translates Mercado Pago resources into executable functions (tools) that AI applications can invoke to perform actions and automate flows. The server simplifies integration, enables using documentation to implement or improve code, and optimizes operations through natural language interactions without manual implementations.
Related MCP Servers
- AlicenseNot gradedqualityNot gradedmaintenanceAn MCP server deployed on Cloudflare Workers that provides access to Uruguayan legislation from the official IMPO database. It enables users to search for legal norms, retrieve full texts, and query specific articles from laws, decrees, and the constitution.-
- AlicenseAqualityDmaintenanceMCP server for querying Spanish government open data APIs including grants, legislation, company registry, statistics, and open data catalog. Enables LLMs to access Spanish public information on-the-fly.265MIT
- FlicenseNot gradedqualityDmaintenanceMCP server that enables searching and retrieving judicial decisions from the Uruguayan National Public Jurisprudence Database (BJN).-
- AlicenseAqualityCmaintenanceMCP server that connects AI to the Chilean legislation system (Ley Chile) for retrieving legal norms, citations, and intertemporal analysis.283MIT