MCP
Online News MonitorMCP服务器
The AI-powered Online News Monitor provides 360° Global Media Data & Intelligence on Digital-native news outlets, online newspapers, broadcasters, wire services, and digital magazines.
MCP 版本: 1.0.0 3 MCP工具 身份验证
基本网址
https://pressmonitor.com/mcp 身份验证
MCP 调用在每次 JSON-RPC 2.0 请求中都需要 x-api-key 和 x-subscription-id 标头。
x-api-key: YOUR_API_KEY
x-subscription-id: YOUR_SUB_ID headlines
Search news headlines by keywords
参数
| 名称 | 类型 | 必填 | 描述 |
|---|---|---|---|
| keywords_text | string | 是 | Primary keyword query used for direct news retrieval |
| lang_code | string | 不 | Filter by language code (ISO 639-1) |
| country_code | string | 不 | Filter by country code (ISO 3166-1 alpha-2) |
| count | integer | 不 | Number of results to return |
| cursor | string | 不 | Pagination cursor for next page |
| date_from | string | 不 | Start date for news (YYYY-MM-DD format) |
| date_to | string | 不 | End date for news (YYYY-MM-DD format) |
| sort | string | 不 | Sort order (date or relevance) |
代码示例
curl -X POST \
"https://pressmonitor.com/mcp" \
-H "x-api-key: YOUR_API_KEY" \
-H "x-subscription-id: YOUR_SUB_ID" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "headlines",
"arguments": {
"keywords_text": "VALUE",
"lang_code": "VALUE",
"country_code": "VALUE",
"count": 0,
"cursor": "VALUE",
"date_from": "VALUE",
"date_to": "VALUE",
"sort": "VALUE"
}
},
"id": 1
}' briefs
Search news briefs by keywords
参数
| 名称 | 类型 | 必填 | 描述 |
|---|---|---|---|
| keywords_text | string | 是 | Primary keyword query used for direct news retrieval |
| lang_code | string | 不 | Filter by language code (ISO 639-1) |
| country_code | string | 不 | Filter by country code (ISO 3166-1 alpha-2) |
| count | integer | 不 | Number of results to return |
| cursor | string | 不 | Pagination cursor for next page |
| date_from | string | 不 | Start date for news (YYYY-MM-DD format) |
| date_to | string | 不 | End date for news (YYYY-MM-DD format) |
| sort | string | 不 | Sort order (date or relevance) |
代码示例
curl -X POST \
"https://pressmonitor.com/mcp" \
-H "x-api-key: YOUR_API_KEY" \
-H "x-subscription-id: YOUR_SUB_ID" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "briefs",
"arguments": {
"keywords_text": "VALUE",
"lang_code": "VALUE",
"country_code": "VALUE",
"count": 0,
"cursor": "VALUE",
"date_from": "VALUE",
"date_to": "VALUE",
"sort": "VALUE"
}
},
"id": 1
}' fulltext
Search full-text news by keywords
参数
| 名称 | 类型 | 必填 | 描述 |
|---|---|---|---|
| keywords_text | string | 是 | Primary keyword query used for direct news retrieval |
| lang_code | string | 不 | Filter by language code (ISO 639-1) |
| country_code | string | 不 | Filter by country code (ISO 3166-1 alpha-2) |
| count | integer | 不 | Number of results to return |
| cursor | string | 不 | Pagination cursor for next page |
| date_from | string | 不 | Start date for news (YYYY-MM-DD format) |
| date_to | string | 不 | End date for news (YYYY-MM-DD format) |
| sort | string | 不 | Sort order (date or relevance) |
代码示例
curl -X POST \
"https://pressmonitor.com/mcp" \
-H "x-api-key: YOUR_API_KEY" \
-H "x-subscription-id: YOUR_SUB_ID" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "fulltext",
"arguments": {
"keywords_text": "VALUE",
"lang_code": "VALUE",
"country_code": "VALUE",
"count": 0,
"cursor": "VALUE",
"date_from": "VALUE",
"date_to": "VALUE",
"sort": "VALUE"
}
},
"id": 1
}' 