Skip to main content
Glama
@openar/mcp

@openar/mcp

Official
by openar-pt

@openar/mcp

Servidor MCP para o openAR — dados abertos da Assembleia da República.

Permite a agentes de IA aceder a iniciativas legislativas, deputados, votações em plenário, petições e comissões parlamentares.

Utilização

Claude Desktop

Adiciona ao ficheiro de configuração do Claude Desktop:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

  • Windows: %APPDATA%\Claude\claude_desktop_config.json

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

Claude Code

claude mcp add --scope user openar -- npx -y @openar/mcp

Outros clientes MCP

{
  "command": "npx",
  "args": ["-y", "@openar/mcp"]
}

Related MCP server: Spanish Public Data MCP

Ferramentas disponíveis

Ferramenta

Descrição

get_meta

Valores disponíveis para filtros: legislaturas, grupos parlamentares, tipos de iniciativa

list_iniciativas

Pesquisar iniciativas legislativas por legislatura, tipo, estado, grupo, palavra-chave

get_iniciativa

Detalhe completo de uma iniciativa: autores, eventos, votações, publicações e fases em comissão

list_deputados

Pesquisar deputados por legislatura, grupo parlamentar, nome ou situação

get_deputado

Perfil do deputado com todos os mandatos e iniciativas recentes

get_deputado_atividade

Actividade parlamentar completa: intervenções, comissões, requerimentos, relatorias

list_votacoes

Votações em plenário filtradas por legislatura, resultado ou intervalo de datas

get_votacao

Detalhe de uma votação com resultado por grupo parlamentar

list_peticoes

Petições filtradas por legislatura, situação ou palavra-chave

get_peticao

Detalhe de uma petição com comissões, relatores e documentos

list_comissoes

Listar comissões parlamentares, com filtro por legislatura ou nome

get_comissao

Detalhe de uma comissão com todas as iniciativas apreciadas e respetivos relatores

Dados

Todos os dados provêm de api.openar.pt — uma API gratuita e aberta com cobertura da I à XVII Legislatura (1976–presente). Não requer autenticação.

Especificação OpenAPI: api.openar.pt/openapi.json

Licença

MIT

Available Tools

12 tools
get_comissaoB

Get a parliamentary committee with its paginated list of initiatives and rapporteurs per initiative

Inputs: numero (required), legislatura, page, limit.

get_deputadoA

Get an MP with all their mandates and recent initiatives

Inputs: id (required).

get_deputado_atividadeA

Get full parliamentary activity for an MP: initiatives, requirements, plenary interventions, committees

Inputs: id (required), legislatura.

get_iniciativaA

Get a legislative initiative with full detail: authors, events, votes, publications, and committee phases (comissoesFases) with rapporteurs, documents, and hearings

Inputs: id (required).

get_metaA

Get available filter values: legislaturas, grupos parlamentares, tipos de iniciativa

Inputs: legislatura.

get_peticaoB

Get a petition with committees, rapporteurs, and documents

Inputs: id (required).

get_votacaoA

Get a single vote with party breakdown

Inputs: id (required), iniciativa_id (required).

list_comissoesB

List parliamentary committees. Each committee is identified by a numero and may appear across multiple initiatives and legislatures.

Inputs: legislatura, q, page, limit.

list_deputadosC

List MPs with optional filters

Inputs: legislatura, grupo, q, situacao, +2 more.

list_iniciativasB

List legislative initiatives with optional filters

Inputs: legislatura, tipo, estado, grupo, +5 more.

list_peticoesC

List petitions with optional filters

Inputs: legislatura, situacao, q, page, +1 more.

list_votacoesC

List plenary votes with optional filters

Inputs: legislatura, resultado, unanime, data_inicio, +3 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.7/5.0

    Scored across 12 tools

    Disambiguation5/5

    Each tool targets a distinct entity and operation (get vs list), with no overlap. For example, get_comissao retrieves a single committee with detailed information, while list_comissoes provides a list of committees.

    Naming Consistency5/5

    All tools follow a consistent verb_noun pattern in snake_case (e.g., get_deputado, list_iniciativas), with get_meta as the only exception but still adhering to the pattern.

    Tool Count5/5

    12 tools is well-scoped for a parliamentary data API, covering all major entities (committees, MPs, initiatives, petitions, votes) without being excessive or too sparse.

    Completeness5/5

    The tool surface covers the core lifecycle for each entity (list and get) and includes metadata retrieval and vote details, leaving no obvious gaps for a read-only parliamentary data service.

    Maintenance

    ActivityInactive
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      An MCP server that connects AI agents to over 200 tools across 27 Brazilian public APIs, covering economic, legislative, transparency, and judicial data. It enables users to query and cross-reference extensive government datasets from sources like IBGE, the Central Bank, and the Brazilian Congress.
      22
      7
      1,861
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      MCP 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.
      26
      5
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      An MCP server connecting AI models to the Swiss Federal Parliament via the Curia Vista OData API, enabling queries of motions, votes, members, sessions, and debate transcripts without authentication.
      7
      35 PyPI
      2
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      MCP Server for accessing 36 Brazilian public data sources and 1 agent, enabling AI agents to query government data on economy, legislation, transparency, judiciary, elections, environment, health, and more.
      6
      1
      MIT