MCP

Entità Wikidata MCP Server

Wikidata è un database di conoscenza mantenuto in modo collaborativo con oltre 121 milioni di elementi che coprono persone, organizzazioni, luoghi, opere e concetti. È importante per la risoluzione delle entità, grafici di conoscenza, arricchimento della ricerca e ricerca strutturata.

MCP Version: 1.0.0 10 MCP Tools Authentication
Entità Wikidata

Base URL

https://mcp.pressmonitor.com

Authentication

MCP calls use Bearer tokens over JSON-RPC 2.0.

Authorization: Bearer YOUR_TOKEN

suggest_entities

Suggerisci entità

Arguments

Name Type Required Description
query_text string Yes Testo della query
lang string No Lingua
limit string No Limite
offset string No Offset

Code Examples

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

Cerca entità per etichetta

Arguments

Name Type Required Description
query_text string Yes Testo della query
lang string No Lingua
limit string No Limite
offset string No Offset

Code Examples

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

Cerca entità per descrizione

Arguments

Name Type Required Description
query_text string Yes Testo della query
lang string No Lingua
limit string No Limite
offset string No Offset

Code Examples

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

Cerca entità per tipo

Arguments

Name Type Required Description
type string Yes Tipo
query_text string No Testo della query
lang string No Lingua
limit string No Limite
offset string No Offset

Code Examples

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

Cerca entità per valore della prova

Arguments

Name Type Required Description
property string Yes Proprietà
value string No Valore
mode string No Modalità
lang string No Lingua
limit string No Limite
offset string No Offset

Code Examples

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

Cerca entità per proprietà

Arguments

Name Type Required Description
property string Yes Proprietà
value string No Valore
qualifier string No Qualificatore
rank string No Rango
lang string No Lingua
limit string No Limite
offset string No Offset

Code Examples

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

Cerca entità per intervallo di date

Arguments

Name Type Required Description
property string Yes Proprietà
from string No Da
to string No A
value string No Valore
lang string No Lingua
limit string No Limite
offset string No Offset

Code Examples

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

Ottieni entità per ID

Arguments

Name Type Required Description
wikidata_id string Yes Id Wikidata
lang string No Lingua

Code Examples

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

Ottieni prove dell'entità

Arguments

Name Type Required Description
wikidata_id string Yes Id Wikidata
lang string No Lingua
limit string No Limite
offset string No Offset

Code Examples

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

Ottieni proprietà

Code Examples

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
}'