ビジネスインテリジェンス MCP
WikidataエンティティMCPサーバー
Wikidataは、人物や組織、場所、作品、概念を網羅した1億2100万以上のアイテムを持つ協調的な知識ベースです。
MCP バージョン: 1.0.0 10 MCPツール 認証
ベース URL
https://mcp.pressmonitor.com/wikidata/v1 認証
MCP呼び出しは、JSON-RPC 2.0リクエストを介してBearerトークンを使用します。
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 | はい | Wikidata ID |
| 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 | はい | Wikidata ID |
| 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())