Платформенная аналитика MCP
Google MCP Сервер
Ежедневно миллиарды людей используют Google для поиска веб-страниц, новостей, изображений, видео и локальных результатов, обеспечивая важность для обнаружения, управления репутацией и привлечения спроса.
MCP Версия: 1.0.0 6 Инструменты MCP Аутентификация
Базовый URL
https://mcp.pressmonitor.com/google/v1 Аутентификация
Вызовы MCP также используют токены Bearer в запросах JSON-RPC 2.0.
Authorization: Bearer YOUR_TOKEN Обнаружить инструменты
Начните с перечисления инструментов, доступных через сервер MCP.
curl -X POST \ 'https://mcp.pressmonitor.com/google/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/google/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/google/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) tool
search_web Поиск в Интернете
Поиск в Интернете
Аргументы
| Имя | Тип | Обязательно | Описание |
|---|---|---|---|
| query_text | string | Да | Текст запроса |
| lang_code | string | Нет | Код языка |
| country_code | string | Нет | Код страны |
| count | string | Нет | Количество возвращаемых результатов |
| safesearch | string | Нет | Безопасный поиск |
Примеры кода
curl -X POST \ 'https://mcp.pressmonitor.com/google/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"search_web","arguments":{"query_text":"SOME_STRING_VALUE","lang_code":"SOME_STRING_VALUE","country_code":"SOME_STRING_VALUE","count":20,"safesearch":"SOME_STRING_VALUE"}}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "search_web", "arguments": { "query_text": "SOME_STRING_VALUE", "lang_code": "SOME_STRING_VALUE", "country_code": "SOME_STRING_VALUE", "count": 20, "safesearch": "SOME_STRING_VALUE" } } }; const response = await fetch('https://mcp.pressmonitor.com/google/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_web", "arguments": { "query_text": "SOME_STRING_VALUE", "lang_code": "SOME_STRING_VALUE", "country_code": "SOME_STRING_VALUE", "count": 20, "safesearch": "SOME_STRING_VALUE" } } } response = requests.post( 'https://mcp.pressmonitor.com/google/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) tool
search_news Поиск новостей
Поиск новостей
Аргументы
| Имя | Тип | Обязательно | Описание |
|---|---|---|---|
| query_text | string | Да | Текст запроса |
| lang_code | string | Нет | Код языка |
| country_code | string | Нет | Код страны |
| count | string | Нет | Количество возвращаемых результатов |
Примеры кода
curl -X POST \ 'https://mcp.pressmonitor.com/google/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"search_news","arguments":{"query_text":"SOME_STRING_VALUE","lang_code":"SOME_STRING_VALUE","country_code":"SOME_STRING_VALUE","count":20}}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "search_news", "arguments": { "query_text": "SOME_STRING_VALUE", "lang_code": "SOME_STRING_VALUE", "country_code": "SOME_STRING_VALUE", "count": 20 } } }; const response = await fetch('https://mcp.pressmonitor.com/google/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_news", "arguments": { "query_text": "SOME_STRING_VALUE", "lang_code": "SOME_STRING_VALUE", "country_code": "SOME_STRING_VALUE", "count": 20 } } } response = requests.post( 'https://mcp.pressmonitor.com/google/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) tool
search_images Поиск изображений
Поиск изображений
Аргументы
| Имя | Тип | Обязательно | Описание |
|---|---|---|---|
| query_text | string | Да | Текст запроса |
| lang_code | string | Нет | Код языка |
| country_code | string | Нет | Код страны |
| count | string | Нет | Количество возвращаемых результатов |
| safesearch | string | Нет | Безопасный поиск |
| color | string | Нет | Цвет |
| size | string | Нет | Размер |
| type_image | string | Нет | Тип изображения |
| layout | string | Нет | Макет |
Примеры кода
curl -X POST \ 'https://mcp.pressmonitor.com/google/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"search_images","arguments":{"query_text":"SOME_STRING_VALUE","lang_code":"SOME_STRING_VALUE","country_code":"SOME_STRING_VALUE","count":20,"safesearch":"SOME_STRING_VALUE","color":"SOME_STRING_VALUE","size":"SOME_STRING_VALUE","type_image":"SOME_STRING_VALUE","layout":"SOME_STRING_VALUE"}}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "search_images", "arguments": { "query_text": "SOME_STRING_VALUE", "lang_code": "SOME_STRING_VALUE", "country_code": "SOME_STRING_VALUE", "count": 20, "safesearch": "SOME_STRING_VALUE", "color": "SOME_STRING_VALUE", "size": "SOME_STRING_VALUE", "type_image": "SOME_STRING_VALUE", "layout": "SOME_STRING_VALUE" } } }; const response = await fetch('https://mcp.pressmonitor.com/google/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_images", "arguments": { "query_text": "SOME_STRING_VALUE", "lang_code": "SOME_STRING_VALUE", "country_code": "SOME_STRING_VALUE", "count": 20, "safesearch": "SOME_STRING_VALUE", "color": "SOME_STRING_VALUE", "size": "SOME_STRING_VALUE", "type_image": "SOME_STRING_VALUE", "layout": "SOME_STRING_VALUE" } } } response = requests.post( 'https://mcp.pressmonitor.com/google/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) tool
search_videos Поиск видео
Поиск видео
Аргументы
| Имя | Тип | Обязательно | Описание |
|---|---|---|---|
| query_text | string | Да | Текст запроса |
| lang_code | string | Нет | Код языка |
| country_code | string | Нет | Код страны |
| count | string | Нет | Количество возвращаемых результатов |
| safesearch | string | Нет | Безопасный поиск |
| timelimit | string | Нет | Ограничение по времени |
| duration | string | Нет | Длительность |
| resolution | string | Нет | Разрешение |
Примеры кода
curl -X POST \ 'https://mcp.pressmonitor.com/google/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"search_videos","arguments":{"query_text":"SOME_STRING_VALUE","lang_code":"SOME_STRING_VALUE","country_code":"SOME_STRING_VALUE","count":20,"safesearch":"SOME_STRING_VALUE","timelimit":"SOME_STRING_VALUE","duration":"SOME_STRING_VALUE","resolution":"SOME_STRING_VALUE"}}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "search_videos", "arguments": { "query_text": "SOME_STRING_VALUE", "lang_code": "SOME_STRING_VALUE", "country_code": "SOME_STRING_VALUE", "count": 20, "safesearch": "SOME_STRING_VALUE", "timelimit": "SOME_STRING_VALUE", "duration": "SOME_STRING_VALUE", "resolution": "SOME_STRING_VALUE" } } }; const response = await fetch('https://mcp.pressmonitor.com/google/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_videos", "arguments": { "query_text": "SOME_STRING_VALUE", "lang_code": "SOME_STRING_VALUE", "country_code": "SOME_STRING_VALUE", "count": 20, "safesearch": "SOME_STRING_VALUE", "timelimit": "SOME_STRING_VALUE", "duration": "SOME_STRING_VALUE", "resolution": "SOME_STRING_VALUE" } } } response = requests.post( 'https://mcp.pressmonitor.com/google/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) tool
search_map Поиск на карте
Поиск на карте
Аргументы
| Имя | Тип | Обязательно | Описание |
|---|---|---|---|
| query_text | string | Да | Текст запроса |
| place | string | Нет | Место |
| street | string | Нет | Улица |
| city | string | Нет | Город |
| county | string | Нет | Округ |
| state | string | Нет | Штат |
| country | string | Нет | Страна |
| postalcode | string | Нет | Почтовый индекс |
| latitude | string | Нет | Широта |
| longitude | string | Нет | Долгота |
| radius | string | Нет | Радиус |
Примеры кода
curl -X POST \ 'https://mcp.pressmonitor.com/google/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"search_map","arguments":{"query_text":"SOME_STRING_VALUE","place":"SOME_STRING_VALUE","street":"SOME_STRING_VALUE","city":"SOME_STRING_VALUE","county":20,"state":"SOME_STRING_VALUE","country":20,"postalcode":"SOME_STRING_VALUE","latitude":"SOME_STRING_VALUE","longitude":"SOME_STRING_VALUE","radius":"SOME_STRING_VALUE"}}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "search_map", "arguments": { "query_text": "SOME_STRING_VALUE", "place": "SOME_STRING_VALUE", "street": "SOME_STRING_VALUE", "city": "SOME_STRING_VALUE", "county": 20, "state": "SOME_STRING_VALUE", "country": 20, "postalcode": "SOME_STRING_VALUE", "latitude": "SOME_STRING_VALUE", "longitude": "SOME_STRING_VALUE", "radius": "SOME_STRING_VALUE" } } }; const response = await fetch('https://mcp.pressmonitor.com/google/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_map", "arguments": { "query_text": "SOME_STRING_VALUE", "place": "SOME_STRING_VALUE", "street": "SOME_STRING_VALUE", "city": "SOME_STRING_VALUE", "county": 20, "state": "SOME_STRING_VALUE", "country": 20, "postalcode": "SOME_STRING_VALUE", "latitude": "SOME_STRING_VALUE", "longitude": "SOME_STRING_VALUE", "radius": "SOME_STRING_VALUE" } } } response = requests.post( 'https://mcp.pressmonitor.com/google/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) tool
auto_complete Автозаполнение
Автозаполнение
Аргументы
| Имя | Тип | Обязательно | Описание |
|---|---|---|---|
| query_text | string | Да | Текст запроса |
Примеры кода
curl -X POST \ 'https://mcp.pressmonitor.com/google/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"auto_complete","arguments":{"query_text":"SOME_STRING_VALUE"}}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "auto_complete", "arguments": { "query_text": "SOME_STRING_VALUE" } } }; const response = await fetch('https://mcp.pressmonitor.com/google/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": "auto_complete", "arguments": { "query_text": "SOME_STRING_VALUE" } } } response = requests.post( 'https://mcp.pressmonitor.com/google/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json())