MCP
Entidades WikidataServidor MCP
Wikidata é uma base de conhecimento colaborativa com mais de 121 milhões de itens incluindo pessoas, organizações, locais e conceitos, essencial para resolução de entidades e grafos de conhecimento.
MCP Versão: 1.0.0 10 Ferramentas MCP Autenticação
URL base
https://mcp.pressmonitor.com Autenticação
As chamadas MCP também usam tokens Bearer em solicitações JSON-RPC 2.0.
Authorization: Bearer YOUR_TOKEN suggest_entities
Sugerir Entidades
Argumentos
| Nome | Tipo | Obrigatório | Descrição |
|---|---|---|---|
| query_text | string | Sim | Texto da consulta |
| lang | string | Não | Idioma |
| limit | string | Não | Limite |
| offset | string | Não | Deslocamento |
Exemplos de Código
curl -X POST "" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID" -H "Content-Type: application/json" -d '{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "suggest_entities",
"arguments": {
"query_text": "VALUE"
}
},
"id": 1
}' search_entities_by_label
Buscar Entidades por Rótulo
Argumentos
| Nome | Tipo | Obrigatório | Descrição |
|---|---|---|---|
| query_text | string | Sim | Texto da consulta |
| lang | string | Não | Idioma |
| limit | string | Não | Limite |
| offset | string | Não | Deslocamento |
Exemplos de Código
curl -X POST "" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID" -H "Content-Type: application/json" -d '{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "search_entities_by_label",
"arguments": {
"query_text": "VALUE"
}
},
"id": 1
}' search_entities_by_description
Buscar Entidades por Descrição
Argumentos
| Nome | Tipo | Obrigatório | Descrição |
|---|---|---|---|
| query_text | string | Sim | Texto da consulta |
| lang | string | Não | Idioma |
| limit | string | Não | Limite |
| offset | string | Não | Deslocamento |
Exemplos de Código
curl -X POST "" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID" -H "Content-Type: application/json" -d '{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "search_entities_by_description",
"arguments": {
"query_text": "VALUE"
}
},
"id": 1
}' search_entities_by_type
Buscar Entidades por Tipo
Argumentos
| Nome | Tipo | Obrigatório | Descrição |
|---|---|---|---|
| type | string | Sim | Tipo |
| query_text | string | Não | Texto da consulta |
| lang | string | Não | Idioma |
| limit | string | Não | Limite |
| offset | string | Não | Deslocamento |
Exemplos de Código
curl -X POST "" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID" -H "Content-Type: application/json" -d '{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "search_entities_by_type",
"arguments": {
"type": "VALUE"
}
},
"id": 1
}' search_entities_by_claim_value
Buscar Entidades por Valor da Afirmativa
Argumentos
| Nome | Tipo | Obrigatório | Descrição |
|---|---|---|---|
| property | string | Sim | Propriedade |
| value | string | Não | Valor |
| mode | string | Não | Modo |
| lang | string | Não | Idioma |
| limit | string | Não | Limite |
| offset | string | Não | Deslocamento |
Exemplos de Código
curl -X POST "" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID" -H "Content-Type: application/json" -d '{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "search_entities_by_claim_value",
"arguments": {
"property": "VALUE"
}
},
"id": 1
}' search_entities_by_property
Buscar Entidades por Propriedade
Argumentos
| Nome | Tipo | Obrigatório | Descrição |
|---|---|---|---|
| property | string | Sim | Propriedade |
| value | string | Não | Valor |
| qualifier | string | Não | Qualificador |
| rank | string | Não | Hierarquia |
| lang | string | Não | Idioma |
| limit | string | Não | Limite |
| offset | string | Não | Deslocamento |
Exemplos de Código
curl -X POST "" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID" -H "Content-Type: application/json" -d '{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "search_entities_by_property",
"arguments": {
"property": "VALUE"
}
},
"id": 1
}' search_entities_by_date_range
Buscar Entidades por Intervalo de Datas
Argumentos
| Nome | Tipo | Obrigatório | Descrição |
|---|---|---|---|
| property | string | Sim | Propriedade |
| from | string | Não | De |
| to | string | Não | Até |
| value | string | Não | Valor |
| lang | string | Não | Idioma |
| limit | string | Não | Limite |
| offset | string | Não | Deslocamento |
Exemplos de Código
curl -X POST "" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID" -H "Content-Type: application/json" -d '{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "search_entities_by_date_range",
"arguments": {
"property": "VALUE"
}
},
"id": 1
}' get_entity_by_id
Obter Entidade por Id
Argumentos
| Nome | Tipo | Obrigatório | Descrição |
|---|---|---|---|
| wikidata_id | string | Sim | Id do Wikidata |
| lang | string | Não | Idioma |
Exemplos de Código
curl -X POST "" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID" -H "Content-Type: application/json" -d '{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "get_entity_by_id",
"arguments": {
"wikidata_id": "VALUE"
}
},
"id": 1
}' get_entity_claims
Obter Afirmativas da Entidade
Argumentos
| Nome | Tipo | Obrigatório | Descrição |
|---|---|---|---|
| wikidata_id | string | Sim | Id do Wikidata |
| lang | string | Não | Idioma |
| limit | string | Não | Limite |
| offset | string | Não | Deslocamento |
Exemplos de Código
curl -X POST "" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID" -H "Content-Type: application/json" -d '{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "get_entity_claims",
"arguments": {
"wikidata_id": "VALUE"
}
},
"id": 1
}' get_properties
Obter Propriedades
Exemplos de Código
curl -X POST "" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID" -H "Content-Type: application/json" -d '{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "get_properties",
"arguments": {}
},
"id": 1
}'