Ferramentas para validar documentos TISS e consultar TUSS, operadoras e dados da ANS.
Maintain this server? Claim it
Call this server's tools from your browser. Nothing to install.
Requests go through mcptry because browsers can't call most MCP servers directly. Header values are sent to the server for that request only and are never stored or logged.
Tool list from our last check. Connect live to refresh it.
Busca trechos da documentação local da biblioteca. Quando usar: para encontrar instruções e referências da API. Quando não usar: para consultar dados clínicos ou códigos específicos.
This tool isn't marked read-only, so it may change something on the server or in an account you connected.
Tool list last changed Oct 25, 2026.
Busca trechos da documentação local da biblioteca. Quando usar: para encontrar instruções e referências da API. Quando não usar: para consultar dados clínicos ou códigos específicos.
| Argument | Type | Description |
|---|---|---|
| texto* | string | |
| limite | integer |
{
"type": "object",
"required": [
"texto"
],
"properties": {
"texto": {
"type": "string"
},
"limite": {
"type": "integer",
"default": 3,
"maximum": 10,
"minimum": 1
}
},
"additionalProperties": false
}Explica um código da Tabela 38 da ANS. Quando usar: ao interpretar uma glosa recebida. Quando não usar: para validar ou corrigir o lote.
| Argument | Type | Description |
|---|---|---|
| codigo* | string |
{
"type": "object",
"required": [
"codigo"
],
"properties": {
"codigo": {
"type": "string",
"pattern": "^[0-9]{4}$"
}
},
"additionalProperties": false
}Busca operadoras ativas pelo nome, registro, CNPJ ou localidade. Quando usar: para localizar uma operadora na base pública. Quando não usar: para consultar vínculos hospitalares; use tiss_rede.
| Argument | Type | Description |
|---|---|---|
| texto* | string | |
| limite | integer |
{
"type": "object",
"required": [
"texto"
],
"properties": {
"texto": {
"type": "string"
},
"limite": {
"type": "integer",
"default": 10,
"maximum": 50,
"minimum": 1
}
},
"additionalProperties": false
}Consulta o cadastro e a série semestral de glosa e pagamento de uma operadora na ANS. Quando usar: para conhecer uma operadora pelo registro ANS. Quando não usar: para buscar operadoras por nome.
| Argument | Type | Description |
|---|---|---|
| registro_ans* | string |
{
"type": "object",
"required": [
"registro_ans"
],
"properties": {
"registro_ans": {
"type": "string",
"pattern": "^[0-9]{5,6}$"
}
},
"additionalProperties": false
}Consulta os estabelecimentos vinculados a uma operadora. Quando usar: para identificar unidades da rede por UF. Quando não usar: para buscar o cadastro geral; use operadora_lookup.
| Argument | Type | Description |
|---|---|---|
| uf | string | |
| limite | integer | |
| registro* | string |
{
"type": "object",
"required": [
"registro"
],
"properties": {
"uf": {
"type": "string",
"pattern": "^[A-Za-z]{2}$"
},
"limite": {
"type": "integer",
"default": 200,
"maximum": 1000,
"minimum": 1
},
"registro": {
"type": "string"
}
},
"additionalProperties": false
}Aplica correções JSON Patch de um relatório ao lote. Quando usar: depois de tiss_validate ou tiss_audit com achados corrigíveis. Quando não usar: para inventar dados ausentes; peça-os ao usuário.
| Argument | Type | Description |
|---|---|---|
| lote* | object | |
| report* | object |
{
"type": "object",
"required": [
"lote",
"report"
],
"properties": {
"lote": {
"type": "object",
"properties": {},
"additionalProperties": true
},
"report": {
"type": "object",
"required": [
"findings"
],
"properties": {
"findings": {
"type": "array",
"items": {
"type": "object",
"properties": {},
"additionalProperties": true
}
}
},
"additionalProperties": true
}
},
"additionalProperties": false
}Audita um lote JSON com regras locais e contexto da operadora. Quando usar: para identificar inconsistências administrativas. Quando não usar: para aplicar correções; use tiss_apply_fixes.
| Argument | Type | Description |
|---|---|---|
| data | string | |
| lote* | object | |
| contexto | object | |
| operadora | string | object |
{
"type": "object",
"required": [
"lote"
],
"properties": {
"data": {
"type": "string",
"format": "date"
},
"lote": {
"type": "object",
"properties": {},
"additionalProperties": true
},
"contexto": {
"type": "object",
"properties": {
"autorizacoes": {
"type": "object"
},
"carteirinhas": {
"type": "object"
},
"tabela_operadora": {
"type": "object",
"properties": {
"max_guias": {
"type": "integer",
"minimum": 1
},
"registro_ans": {
"type": "string"
},
"vigencia_fim": {
"type": [
"string",
"null"
],
"format": "date"
},
"procedimentos": {
"type": "array",
"items": {
"type": "string"
}
},
"vigencia_inicio": {
"type": "string",
"format": "date"
},
"exige_autorizacao": {
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
"operadora": {
"type": [
"string",
"object"
],
"pattern": "^[0-9]{5,6}$"
}
},
"additionalProperties": false
}Gera XML TISS 4.03.00 para solicitação ou resposta de autorização SP/SADT.
| Argument | Type | Description |
|---|---|---|
| mensagem* | object |
{
"type": "object",
"required": [
"mensagem"
],
"properties": {
"mensagem": {
"type": "object",
"properties": {},
"additionalProperties": true
}
},
"additionalProperties": false
}Valida uma solicitação SP/SADT e retorna uma decisão explicável.
| Argument | Type | Description |
|---|---|---|
| xml | string | |
| contexto | object | |
| solicitacao | object |
{
"type": "object",
"properties": {
"xml": {
"type": "string"
},
"contexto": {
"type": "object",
"properties": {},
"additionalProperties": true
},
"solicitacao": {
"type": "object",
"properties": {},
"additionalProperties": true
}
},
"additionalProperties": false
}Interpreta solicitações e respostas de autorização SP/SADT.
| Argument | Type | Description |
|---|---|---|
| xml* | string |
{
"type": "object",
"required": [
"xml"
],
"properties": {
"xml": {
"type": "string"
}
},
"additionalProperties": false
}Gera o XML TISS 4.03.00 de um lote em JSON, com hash do epílogo. Consulte tiss://schemas/lote para o esquema estrutural. Quando usar: depois de validar o lote em JSON sem erros. Quando não usar: para corrigir achados; use tiss_apply_fixes.
| Argument | Type | Description |
|---|---|---|
| lote* | object | Schema estrutural disponível em tiss://schemas/lote. |
{
"type": "object",
"required": [
"lote"
],
"properties": {
"lote": {
"type": "object",
"properties": {},
"description": "Schema estrutural disponível em tiss://schemas/lote.",
"additionalProperties": true
}
},
"additionalProperties": true
}Consulta tabelas e códigos de domínio TISS. Quando usar: para localizar um código ou termo de domínio. Quando não usar: para buscar procedimentos TUSS; use tuss_search.
| Argument | Type | Description |
|---|---|---|
| data | string | |
| texto | string | |
| codigo | string | |
| limite | integer | |
| tabela | string | |
| include_expired | boolean |
{
"not": {
"required": [
"codigo",
"texto"
]
},
"type": "object",
"properties": {
"data": {
"type": "string",
"format": "date"
},
"texto": {
"type": "string"
},
"codigo": {
"type": "string"
},
"limite": {
"type": "integer",
"default": 20,
"maximum": 100,
"minimum": 1
},
"tabela": {
"type": "string"
},
"include_expired": {
"type": "boolean"
}
},
"dependentRequired": {
"codigo": [
"tabela"
]
},
"additionalProperties": false
}Calcula o hash do epílogo de um XML TISS. Quando usar: para conferir a integridade do XML. Quando não usar: para validar o conteúdo; use tiss_validate.
| Argument | Type | Description |
|---|---|---|
| xml* | string |
{
"type": "object",
"required": [
"xml"
],
"properties": {
"xml": {
"type": "string"
}
},
"additionalProperties": false
}Lê decisões de um demonstrativo. Quando usar: para identificar pagamentos e glosas. Quando não usar: para validar lotes.
| Argument | Type | Description |
|---|---|---|
| xml* | string |
{
"type": "object",
"required": [
"xml"
],
"properties": {
"xml": {
"type": "string"
}
},
"additionalProperties": false
}Propõe vínculos entre decisões e guias. Quando usar: após ler um demonstrativo. Quando não usar: para alterar guias.
| Argument | Type | Description |
|---|---|---|
| guias* | array | |
| id_key | string | |
| decisoes* | array | |
| status_key | string | |
| operadora_key | string | |
| prestador_key | string |
{
"type": "object",
"required": [
"decisoes",
"guias"
],
"properties": {
"guias": {
"type": "array",
"items": {
"type": "object",
"properties": {},
"additionalProperties": true
}
},
"id_key": {
"type": "string"
},
"decisoes": {
"type": "array",
"items": {
"type": "object",
"required": [
"guia_ref",
"decision",
"motivo"
],
"properties": {
"motivo": {
"type": "string"
},
"decision": {
"enum": [
"pago",
"glosado",
"glosa_parcial"
]
},
"guia_ref": {
"type": "string"
},
"tuss_code": {
"type": "string"
},
"guia_operadora": {
"type": "string"
},
"valor_glosa_cents": {
"type": "integer"
},
"valor_liberado_cents": {
"type": "integer"
}
},
"additionalProperties": true
}
},
"status_key": {
"type": "string"
},
"operadora_key": {
"type": "string"
},
"prestador_key": {
"type": "string"
}
},
"additionalProperties": false
}Consulta as operadoras vinculadas a um CNPJ ou CNES. Quando usar: para identificar vínculos de um estabelecimento. Quando não usar: para buscar o cadastro geral; use operadora_lookup.
| Argument | Type | Description |
|---|---|---|
| cnes | string | |
| cnpj | string | |
| limite | integer |
{
"type": "object",
"properties": {
"cnes": {
"type": "string"
},
"cnpj": {
"type": "string"
},
"limite": {
"type": "integer",
"default": 200,
"maximum": 1000,
"minimum": 1
}
},
"additionalProperties": false
}Consulta valores unitários de referência D-TISS da ANS por procedimento TUSS. Quando usar: para comparar valores informados por UF, modalidade, porte e semestre. Quando não usar: para glosa ou preço contratado de uma operadora; use as ferramentas de operadoras.
| Argument | Type | Description |
|---|---|---|
| uf* | string | |
| porte | string | |
| codigo* | string | |
| tabela | string | |
| semestre | string | |
| modalidade | string |
{
"type": "object",
"required": [
"codigo",
"uf"
],
"properties": {
"uf": {
"type": "string",
"pattern": "^[A-Za-z]{2}$"
},
"porte": {
"type": "string"
},
"codigo": {
"type": "string",
"pattern": "^[0-9]{1,10}$"
},
"tabela": {
"type": "string",
"pattern": "^[0-9]{2}$"
},
"semestre": {
"type": "string",
"pattern": "^[0-9]{4}-[12]$"
},
"modalidade": {
"type": "string"
}
},
"additionalProperties": false
}Agrega achados por prestador e mês, sem expor dados das guias; CPF é pseudonimizado. Quando usar: para analisar rejeições por prestador. Quando não usar: para consultar guias individuais ou corrigir lotes.
| Argument | Type | Description |
|---|---|---|
| data | string | |
| lotes* | array | |
| regras | object | |
| contexto | object | |
| operadora | string | |
| segredo_pseudonimo | string |
{
"type": "object",
"required": [
"lotes"
],
"properties": {
"data": {
"type": "string",
"format": "date"
},
"lotes": {
"type": "array",
"items": {
"type": [
"string",
"object"
]
},
"maxItems": 100,
"minItems": 1
},
"regras": {
"type": "object",
"properties": {},
"additionalProperties": true
},
"contexto": {
"type": "object",
"properties": {
"autorizacoes": {
"type": "object"
},
"carteirinhas": {
"type": "object"
},
"tabela_operadora": {
"type": "object",
"properties": {
"max_guias": {
"type": "integer",
"minimum": 1
},
"registro_ans": {
"type": "string"
},
"vigencia_fim": {
"type": [
"string",
"null"
],
"format": "date"
},
"procedimentos": {
"type": "array",
"items": {
"type": "string"
}
},
"vigencia_inicio": {
"type": "string",
"format": "date"
},
"exige_autorizacao": {
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
"operadora": {
"type": "string",
"pattern": "^[0-9]{5,6}$"
},
"segredo_pseudonimo": {
"type": "string",
"minLength": 16
}
},
"additionalProperties": false
}Retorna o catálogo SP/SADT. Quando usar: para conhecer campos e domínios. Quando não usar: para preencher uma guia sem dados.
No arguments.
{
"type": "object",
"properties": {},
"additionalProperties": false
}Identifica campos obrigatórios SP/SADT ausentes. Quando usar: antes de renderizar uma guia. Quando não usar: para validar um lote.
| Argument | Type | Description |
|---|---|---|
| values* | object |
{
"type": "object",
"required": [
"values"
],
"properties": {
"values": {
"type": "object",
"properties": {},
"additionalProperties": true
}
},
"additionalProperties": false
}Gera uma resposta SP/SADT sintética nos cenários disponíveis.
| Argument | Type | Description |
|---|---|---|
| xml | string | |
| cenario | any | |
| solicitacao | object |
{
"type": "object",
"properties": {
"xml": {
"type": "string"
},
"cenario": {
"enum": [
"aprovado",
"pendente",
"negado"
]
},
"solicitacao": {
"type": "object",
"properties": {},
"additionalProperties": true
}
},
"additionalProperties": false
}Gera o demonstrativo de um protocolo simulado. Quando usar: após enviar um lote. Quando não usar: com protocolo de outra operadora.
| Argument | Type | Description |
|---|---|---|
| protocolo* | string |
{
"type": "object",
"required": [
"protocolo"
],
"properties": {
"protocolo": {
"type": "string"
}
},
"additionalProperties": false
}Envia um lote à operadora simulada. Quando usar: para testar integração local. Quando não usar: para transmitir dados reais.
| Argument | Type | Description |
|---|---|---|
| xml* | string | |
| cenario | any | |
| tentativa | integer | |
| registro_ans | string |
{
"type": "object",
"required": [
"xml"
],
"properties": {
"xml": {
"type": "string"
},
"cenario": {
"enum": [
"aprovado",
"duplicidade",
"carteirinha_vencida",
"sem_autorizacao",
"falha_transitoria",
"falha_permanente"
]
},
"tentativa": {
"type": "integer",
"minimum": 1
},
"registro_ans": {
"type": "string",
"pattern": "^[0-9]{5,6}$"
}
},
"additionalProperties": false
}Valida XML TISS ou lote em JSON. Quando usar: antes de gerar ou enviar um lote. Quando não usar: para corrigir achados sem aplicar o ciclo validar → tiss_apply_fixes → validar de novo.
| Argument | Type | Description |
|---|---|---|
| xml | string | |
| data | string | |
| lote | object | Schema estrutural disponível em tiss://schemas/lote. |
| contexto | object | |
| operadora | string |
{
"type": "object",
"properties": {
"xml": {
"type": "string"
},
"data": {
"type": "string",
"format": "date"
},
"lote": {
"type": "object",
"properties": {},
"description": "Schema estrutural disponível em tiss://schemas/lote.",
"additionalProperties": true
},
"contexto": {
"type": "object",
"properties": {
"autorizacoes": {
"type": "object"
},
"carteirinhas": {
"type": "object"
},
"tabela_operadora": {
"type": "object",
"properties": {
"max_guias": {
"type": "integer",
"minimum": 1
},
"registro_ans": {
"type": "string"
},
"vigencia_fim": {
"type": [
"string",
"null"
],
"format": "date"
},
"procedimentos": {
"type": "array",
"items": {
"type": "string"
}
},
"vigencia_inicio": {
"type": "string",
"format": "date"
},
"exige_autorizacao": {
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
"operadora": {
"type": "string",
"pattern": "^[0-9]{5,6}$"
}
},
"additionalProperties": false
}Busca um código TUSS exato. Quando usar: para consultar código ou vigência. Quando não usar: para buscar por descrição.
| Argument | Type | Description |
|---|---|---|
| code* | string | |
| data | string | |
| tabela | string | |
| include_expired | boolean |
{
"type": "object",
"required": [
"code"
],
"properties": {
"code": {
"type": "string"
},
"data": {
"type": "string",
"format": "date"
},
"tabela": {
"type": "string"
},
"include_expired": {
"type": "boolean"
}
},
"additionalProperties": false
}Busca códigos TUSS por texto. Quando usar: para localizar procedimentos por descrição. Quando não usar: para validar XML.
| Argument | Type | Description |
|---|---|---|
| data | string | |
| text* | string | |
| limite | integer | |
| tabela | string | |
| include_expired | boolean |
{
"type": "object",
"required": [
"text"
],
"properties": {
"data": {
"type": "string",
"format": "date"
},
"text": {
"type": "string"
},
"limite": {
"type": "integer",
"default": 20,
"maximum": 100,
"minimum": 1
},
"tabela": {
"type": "string"
},
"include_expired": {
"type": "boolean"
}
},
"additionalProperties": false
}