Бизнес-аналитика MCP
Сущности Wikidata MCP Сервер
Wikidata — это совместно поддерживаемая база знаний с более чем 121 миллионом элементов, охватывающих людей, организации, места и концепции, важная для разрешения сущностей и исследований.
MCP Версия: 1.0.0 10 Инструменты MCP Аутентификация
Базовый URL
https://mcp.pressmonitor.com/wikidata/v1 Аутентификация
Вызовы MCP также используют токены Bearer в запросах JSON-RPC 2.0.
Authorization: Bearer YOUR_TOKEN Обнаружить инструменты
Начните с перечисления инструментов, доступных через сервер MCP.
curl -X POST \ 'https://mcp.pressmonitor.com/wikidata/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' const response = await fetch('https://mcp.pressmonitor.com/wikidata/v1', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, body: JSON.stringify({ jsonrpc: '2.0', id: 1, method: 'tools/list' }) }); console.log(await response.json()); import requests payload = { 'jsonrpc': '2.0', 'id': 1, 'method': 'tools/list' } response = requests.post( 'https://mcp.pressmonitor.com/wikidata/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) tool
suggest_entities Предложить сущности
Предложить сущности
Аргументы
| Имя | Тип | Обязательно | Описание |
|---|---|---|---|
| query_text | string | Да | Текст запроса |
| lang | string | Нет | Язык |
| limit | string | Нет | Лимит |
| offset | string | Нет | Смещение |
Примеры кода
curl -X POST \ 'https://mcp.pressmonitor.com/wikidata/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"suggest_entities","arguments":{"query_text":"SOME_STRING_VALUE","lang":"en","limit":"SOME_STRING_VALUE","offset":"SOME_STRING_VALUE"}}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "suggest_entities", "arguments": { "query_text": "SOME_STRING_VALUE", "lang": "en", "limit": "SOME_STRING_VALUE", "offset": "SOME_STRING_VALUE" } } }; const response = await fetch('https://mcp.pressmonitor.com/wikidata/v1', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, body: JSON.stringify(payload) }); console.log(await response.json()); import requests payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "suggest_entities", "arguments": { "query_text": "SOME_STRING_VALUE", "lang": "en", "limit": "SOME_STRING_VALUE", "offset": "SOME_STRING_VALUE" } } } response = requests.post( 'https://mcp.pressmonitor.com/wikidata/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) tool
search_entities_by_label Поиск сущностей по метке
Поиск сущностей по метке
Аргументы
| Имя | Тип | Обязательно | Описание |
|---|---|---|---|
| query_text | string | Да | Текст запроса |
| lang | string | Нет | Язык |
| limit | string | Нет | Лимит |
| offset | string | Нет | Смещение |
Примеры кода
curl -X POST \ 'https://mcp.pressmonitor.com/wikidata/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"search_entities_by_label","arguments":{"query_text":"SOME_STRING_VALUE","lang":"en","limit":"SOME_STRING_VALUE","offset":"SOME_STRING_VALUE"}}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "search_entities_by_label", "arguments": { "query_text": "SOME_STRING_VALUE", "lang": "en", "limit": "SOME_STRING_VALUE", "offset": "SOME_STRING_VALUE" } } }; const response = await fetch('https://mcp.pressmonitor.com/wikidata/v1', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, body: JSON.stringify(payload) }); console.log(await response.json()); import requests payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "search_entities_by_label", "arguments": { "query_text": "SOME_STRING_VALUE", "lang": "en", "limit": "SOME_STRING_VALUE", "offset": "SOME_STRING_VALUE" } } } response = requests.post( 'https://mcp.pressmonitor.com/wikidata/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) tool
search_entities_by_description Поиск сущностей по описанию
Поиск сущностей по описанию
Аргументы
| Имя | Тип | Обязательно | Описание |
|---|---|---|---|
| query_text | string | Да | Текст запроса |
| lang | string | Нет | Язык |
| limit | string | Нет | Лимит |
| offset | string | Нет | Смещение |
Примеры кода
curl -X POST \ 'https://mcp.pressmonitor.com/wikidata/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"search_entities_by_description","arguments":{"query_text":"SOME_STRING_VALUE","lang":"en","limit":"SOME_STRING_VALUE","offset":"SOME_STRING_VALUE"}}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "search_entities_by_description", "arguments": { "query_text": "SOME_STRING_VALUE", "lang": "en", "limit": "SOME_STRING_VALUE", "offset": "SOME_STRING_VALUE" } } }; const response = await fetch('https://mcp.pressmonitor.com/wikidata/v1', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, body: JSON.stringify(payload) }); console.log(await response.json()); import requests payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "search_entities_by_description", "arguments": { "query_text": "SOME_STRING_VALUE", "lang": "en", "limit": "SOME_STRING_VALUE", "offset": "SOME_STRING_VALUE" } } } response = requests.post( 'https://mcp.pressmonitor.com/wikidata/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) tool
search_entities_by_type Поиск сущностей по типу
Поиск сущностей по типу
Аргументы
| Имя | Тип | Обязательно | Описание |
|---|---|---|---|
| type | string | Да | Тип |
| query_text | string | Нет | Текст запроса |
| lang | string | Нет | Язык |
| limit | string | Нет | Лимит |
| offset | string | Нет | Смещение |
Примеры кода
curl -X POST \ 'https://mcp.pressmonitor.com/wikidata/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"search_entities_by_type","arguments":{"type":"SOME_STRING_VALUE","query_text":"SOME_STRING_VALUE","lang":"en","limit":"SOME_STRING_VALUE","offset":"SOME_STRING_VALUE"}}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "search_entities_by_type", "arguments": { "type": "SOME_STRING_VALUE", "query_text": "SOME_STRING_VALUE", "lang": "en", "limit": "SOME_STRING_VALUE", "offset": "SOME_STRING_VALUE" } } }; const response = await fetch('https://mcp.pressmonitor.com/wikidata/v1', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, body: JSON.stringify(payload) }); console.log(await response.json()); import requests payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "search_entities_by_type", "arguments": { "type": "SOME_STRING_VALUE", "query_text": "SOME_STRING_VALUE", "lang": "en", "limit": "SOME_STRING_VALUE", "offset": "SOME_STRING_VALUE" } } } response = requests.post( 'https://mcp.pressmonitor.com/wikidata/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) tool
search_entities_by_claim_value Поиск сущностей по значению утверждения
Поиск сущностей по значению утверждения
Аргументы
| Имя | Тип | Обязательно | Описание |
|---|---|---|---|
| property | string | Да | Свойство |
| value | string | Нет | Значение |
| mode | string | Нет | Режим |
| lang | string | Нет | Язык |
| limit | string | Нет | Лимит |
| offset | string | Нет | Смещение |
Примеры кода
curl -X POST \ 'https://mcp.pressmonitor.com/wikidata/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"search_entities_by_claim_value","arguments":{"property":"SOME_STRING_VALUE","value":"SOME_STRING_VALUE","mode":"SOME_STRING_VALUE","lang":"en","limit":"SOME_STRING_VALUE","offset":"SOME_STRING_VALUE"}}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "search_entities_by_claim_value", "arguments": { "property": "SOME_STRING_VALUE", "value": "SOME_STRING_VALUE", "mode": "SOME_STRING_VALUE", "lang": "en", "limit": "SOME_STRING_VALUE", "offset": "SOME_STRING_VALUE" } } }; const response = await fetch('https://mcp.pressmonitor.com/wikidata/v1', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, body: JSON.stringify(payload) }); console.log(await response.json()); import requests payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "search_entities_by_claim_value", "arguments": { "property": "SOME_STRING_VALUE", "value": "SOME_STRING_VALUE", "mode": "SOME_STRING_VALUE", "lang": "en", "limit": "SOME_STRING_VALUE", "offset": "SOME_STRING_VALUE" } } } response = requests.post( 'https://mcp.pressmonitor.com/wikidata/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) tool
search_entities_by_property Поиск сущностей по свойству
Поиск сущностей по свойству
Аргументы
| Имя | Тип | Обязательно | Описание |
|---|---|---|---|
| property | string | Да | Свойство |
| value | string | Нет | Значение |
| qualifier | string | Нет | Квалификатор |
| rank | string | Нет | Ранг |
| lang | string | Нет | Язык |
| limit | string | Нет | Лимит |
| offset | string | Нет | Смещение |
Примеры кода
curl -X POST \ 'https://mcp.pressmonitor.com/wikidata/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"search_entities_by_property","arguments":{"property":"SOME_STRING_VALUE","value":"SOME_STRING_VALUE","qualifier":"SOME_STRING_VALUE","rank":"SOME_STRING_VALUE","lang":"en","limit":"SOME_STRING_VALUE","offset":"SOME_STRING_VALUE"}}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "search_entities_by_property", "arguments": { "property": "SOME_STRING_VALUE", "value": "SOME_STRING_VALUE", "qualifier": "SOME_STRING_VALUE", "rank": "SOME_STRING_VALUE", "lang": "en", "limit": "SOME_STRING_VALUE", "offset": "SOME_STRING_VALUE" } } }; const response = await fetch('https://mcp.pressmonitor.com/wikidata/v1', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, body: JSON.stringify(payload) }); console.log(await response.json()); import requests payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "search_entities_by_property", "arguments": { "property": "SOME_STRING_VALUE", "value": "SOME_STRING_VALUE", "qualifier": "SOME_STRING_VALUE", "rank": "SOME_STRING_VALUE", "lang": "en", "limit": "SOME_STRING_VALUE", "offset": "SOME_STRING_VALUE" } } } response = requests.post( 'https://mcp.pressmonitor.com/wikidata/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) tool
search_entities_by_date_range Поиск сущностей по диапазону дат
Поиск сущностей по диапазону дат
Аргументы
| Имя | Тип | Обязательно | Описание |
|---|---|---|---|
| property | string | Да | Свойство |
| from | string | Нет | От |
| to | string | Нет | До |
| value | string | Нет | Значение |
| lang | string | Нет | Язык |
| limit | string | Нет | Лимит |
| offset | string | Нет | Смещение |
Примеры кода
curl -X POST \ 'https://mcp.pressmonitor.com/wikidata/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"search_entities_by_date_range","arguments":{"property":"SOME_STRING_VALUE","from":"SOME_STRING_VALUE","to":"SOME_STRING_VALUE","value":"SOME_STRING_VALUE","lang":"en","limit":"SOME_STRING_VALUE","offset":"SOME_STRING_VALUE"}}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "search_entities_by_date_range", "arguments": { "property": "SOME_STRING_VALUE", "from": "SOME_STRING_VALUE", "to": "SOME_STRING_VALUE", "value": "SOME_STRING_VALUE", "lang": "en", "limit": "SOME_STRING_VALUE", "offset": "SOME_STRING_VALUE" } } }; const response = await fetch('https://mcp.pressmonitor.com/wikidata/v1', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, body: JSON.stringify(payload) }); console.log(await response.json()); import requests payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "search_entities_by_date_range", "arguments": { "property": "SOME_STRING_VALUE", "from": "SOME_STRING_VALUE", "to": "SOME_STRING_VALUE", "value": "SOME_STRING_VALUE", "lang": "en", "limit": "SOME_STRING_VALUE", "offset": "SOME_STRING_VALUE" } } } response = requests.post( 'https://mcp.pressmonitor.com/wikidata/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) tool
get_entity_by_id Получить сущность по ID
Получить сущность по ID
Аргументы
| Имя | Тип | Обязательно | Описание |
|---|---|---|---|
| wikidata_id | string | Да | ID Wikidata |
| lang | string | Нет | Язык |
Примеры кода
curl -X POST \ 'https://mcp.pressmonitor.com/wikidata/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_entity_by_id","arguments":{"wikidata_id":"SOME_STRING_VALUE","lang":"en"}}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "get_entity_by_id", "arguments": { "wikidata_id": "SOME_STRING_VALUE", "lang": "en" } } }; const response = await fetch('https://mcp.pressmonitor.com/wikidata/v1', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, body: JSON.stringify(payload) }); console.log(await response.json()); import requests payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "get_entity_by_id", "arguments": { "wikidata_id": "SOME_STRING_VALUE", "lang": "en" } } } response = requests.post( 'https://mcp.pressmonitor.com/wikidata/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) tool
get_entity_claims Получить утверждения сущности
Получить утверждения сущности
Аргументы
| Имя | Тип | Обязательно | Описание |
|---|---|---|---|
| wikidata_id | string | Да | ID Wikidata |
| lang | string | Нет | Язык |
| limit | string | Нет | Лимит |
| offset | string | Нет | Смещение |
Примеры кода
curl -X POST \ 'https://mcp.pressmonitor.com/wikidata/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_entity_claims","arguments":{"wikidata_id":"SOME_STRING_VALUE","lang":"en","limit":"SOME_STRING_VALUE","offset":"SOME_STRING_VALUE"}}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "get_entity_claims", "arguments": { "wikidata_id": "SOME_STRING_VALUE", "lang": "en", "limit": "SOME_STRING_VALUE", "offset": "SOME_STRING_VALUE" } } }; const response = await fetch('https://mcp.pressmonitor.com/wikidata/v1', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, body: JSON.stringify(payload) }); console.log(await response.json()); import requests payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "get_entity_claims", "arguments": { "wikidata_id": "SOME_STRING_VALUE", "lang": "en", "limit": "SOME_STRING_VALUE", "offset": "SOME_STRING_VALUE" } } } response = requests.post( 'https://mcp.pressmonitor.com/wikidata/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) tool
get_properties Получить свойства
Получить свойства
Примеры кода
curl -X POST \ 'https://mcp.pressmonitor.com/wikidata/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_properties","arguments":[]}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "get_properties", "arguments": [] } }; const response = await fetch('https://mcp.pressmonitor.com/wikidata/v1', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, body: JSON.stringify(payload) }); console.log(await response.json()); import requests payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "get_properties", "arguments": [] } } response = requests.post( 'https://mcp.pressmonitor.com/wikidata/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json())