MCP
위키데이터 엔티티 MCP 서버
위키데이터는 인물, 기관, 장소, 작품, 개념 등 1억 2100만 개 이상의 항목을 협업으로 관리하는 지식 기반입니다.
MCP 버전: 1.0.0 10 MCP 도구 인증
기본 URL
https://mcp.pressmonitor.com 인증
MCP 호출은 JSON-RPC 2.0 요청을 통해 Bearer 토큰도 사용합니다.
Authorization: Bearer YOUR_TOKEN suggest_entities
엔티티 제안
인수
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
| query_text | string | 예 | 쿼리 텍스트 |
| lang | string | 아니요 | 언어 |
| limit | string | 아니요 | 제한 |
| offset | string | 아니요 | 오프셋 |
코드 예제
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
라벨로 엔티티 검색
인수
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
| query_text | string | 예 | 쿼리 텍스트 |
| lang | string | 아니요 | 언어 |
| limit | string | 아니요 | 제한 |
| offset | string | 아니요 | 오프셋 |
코드 예제
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
설명으로 엔티티 검색
인수
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
| query_text | string | 예 | 쿼리 텍스트 |
| lang | string | 아니요 | 언어 |
| limit | string | 아니요 | 제한 |
| offset | string | 아니요 | 오프셋 |
코드 예제
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
유형으로 엔티티 검색
인수
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
| type | string | 예 | 유형 |
| query_text | string | 아니요 | 쿼리 텍스트 |
| lang | string | 아니요 | 언어 |
| limit | string | 아니요 | 제한 |
| offset | string | 아니요 | 오프셋 |
코드 예제
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
클레임 값으로 엔티티 검색
인수
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
| property | string | 예 | 속성 |
| value | string | 아니요 | 값 |
| mode | string | 아니요 | 모드 |
| lang | string | 아니요 | 언어 |
| limit | string | 아니요 | 제한 |
| offset | string | 아니요 | 오프셋 |
코드 예제
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
속성으로 엔티티 검색
인수
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
| property | string | 예 | 속성 |
| value | string | 아니요 | 값 |
| qualifier | string | 아니요 | 한정자 |
| rank | string | 아니요 | 등급 |
| lang | string | 아니요 | 언어 |
| limit | string | 아니요 | 제한 |
| offset | string | 아니요 | 오프셋 |
코드 예제
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
날짜 범위로 엔티티 검색
인수
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
| property | string | 예 | 속성 |
| from | string | 아니요 | 시작 |
| to | string | 아니요 | 종료 |
| value | string | 아니요 | 값 |
| lang | string | 아니요 | 언어 |
| limit | string | 아니요 | 제한 |
| offset | string | 아니요 | 오프셋 |
코드 예제
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
ID로 엔티티 가져오기
인수
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
| wikidata_id | string | 예 | Wikidata ID |
| lang | string | 아니요 | 언어 |
코드 예제
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
엔티티 클레임 가져오기
인수
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
| wikidata_id | string | 예 | Wikidata ID |
| lang | string | 아니요 | 언어 |
| limit | string | 아니요 | 제한 |
| offset | string | 아니요 | 오프셋 |
코드 예제
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
속성 가져오기
코드 예제
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
}'