Intelligence d'affaires MCP
Villes GeoNames Serveur MCP
GeoNames contient plus de 25 millions de noms géographiques, dont environ 4,8 millions de lieux habités dans le monde. La géographie au niveau des villes est importante pour l'analyse des marchés locaux, les évolutions municipales, la couverture de services et les risques liés aux lieux.
MCP Version: 1.0.0 3 Outils MCP Authentification
URL de base
https://mcp.pressmonitor.com/news-geonamescity/v1 Authentification
Les appels MCP utilisent aussi des jetons Bearer sur des requêtes JSON-RPC 2.0.
Authorization: Bearer YOUR_TOKEN Découvrir les outils
Commencez par lister les outils exposés par le serveur MCP.
curl -X POST 'https://mcp.pressmonitor.com/news-geonamescity/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/news-geonamescity/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/news-geonamescity/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) tool
news_headlines Obtenir les titres d'actualités
Obtenir les titres d'actualités
Arguments
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| code | string | Oui | Code d'entité (par exemple, symbole boursier, code industriel) |
| lang_code | string | Non | Filtrer par code langue (ISO 639-1) |
| country_code | string | Non | Filtrer par code pays (ISO 3166-1 alpha-2) |
| count | string | Non | Nombre de résultats à retourner |
| cursor | string | Non | Curseur de pagination (alternative à search_after) |
Exemples de code
curl -X POST 'https://mcp.pressmonitor.com/news-geonamescity/v1' -H 'Content-Type: application/json' -H 'Authorization: Bearer YOUR_TOKEN' -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"news_headlines","arguments":{"code":"SOME_STRING_VALUE","lang_code":"SOME_STRING_VALUE","country_code":"SOME_STRING_VALUE","count":20,"cursor":"NEXT_CURSOR"}}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "news_headlines", "arguments": { "code": "SOME_STRING_VALUE", "lang_code": "SOME_STRING_VALUE", "country_code": "SOME_STRING_VALUE", "count": 20, "cursor": "NEXT_CURSOR" } } }; const response = await fetch('https://mcp.pressmonitor.com/news-geonamescity/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": "news_headlines", "arguments": { "code": "SOME_STRING_VALUE", "lang_code": "SOME_STRING_VALUE", "country_code": "SOME_STRING_VALUE", "count": 20, "cursor": "NEXT_CURSOR" } } } response = requests.post( 'https://mcp.pressmonitor.com/news-geonamescity/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) tool
news_briefs Obtenir les résumés d'actualités
Obtenir les résumés d'actualités
Arguments
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| code | string | Oui | Code d'entité (par exemple, symbole boursier, code industriel) |
| lang_code | string | Non | Filtrer par code langue (ISO 639-1) |
| country_code | string | Non | Filtrer par code pays (ISO 3166-1 alpha-2) |
| count | string | Non | Nombre de résultats à retourner |
| cursor | string | Non | Curseur de pagination (alternative à search_after) |
Exemples de code
curl -X POST 'https://mcp.pressmonitor.com/news-geonamescity/v1' -H 'Content-Type: application/json' -H 'Authorization: Bearer YOUR_TOKEN' -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"news_briefs","arguments":{"code":"SOME_STRING_VALUE","lang_code":"SOME_STRING_VALUE","country_code":"SOME_STRING_VALUE","count":20,"cursor":"NEXT_CURSOR"}}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "news_briefs", "arguments": { "code": "SOME_STRING_VALUE", "lang_code": "SOME_STRING_VALUE", "country_code": "SOME_STRING_VALUE", "count": 20, "cursor": "NEXT_CURSOR" } } }; const response = await fetch('https://mcp.pressmonitor.com/news-geonamescity/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": "news_briefs", "arguments": { "code": "SOME_STRING_VALUE", "lang_code": "SOME_STRING_VALUE", "country_code": "SOME_STRING_VALUE", "count": 20, "cursor": "NEXT_CURSOR" } } } response = requests.post( 'https://mcp.pressmonitor.com/news-geonamescity/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) tool
news_fulltext Obtenir le texte complet des actualités
Obtenir le texte complet des actualités
Arguments
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| code | string | Oui | Code d'entité (par exemple, symbole boursier, code industriel) |
| lang_code | string | Non | Filtrer par code langue (ISO 639-1) |
| country_code | string | Non | Filtrer par code pays (ISO 3166-1 alpha-2) |
| count | string | Non | Nombre de résultats à retourner |
| cursor | string | Non | Curseur de pagination (alternative à search_after) |
Exemples de code
curl -X POST 'https://mcp.pressmonitor.com/news-geonamescity/v1' -H 'Content-Type: application/json' -H 'Authorization: Bearer YOUR_TOKEN' -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"news_fulltext","arguments":{"code":"SOME_STRING_VALUE","lang_code":"SOME_STRING_VALUE","country_code":"SOME_STRING_VALUE","count":20,"cursor":"NEXT_CURSOR"}}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "news_fulltext", "arguments": { "code": "SOME_STRING_VALUE", "lang_code": "SOME_STRING_VALUE", "country_code": "SOME_STRING_VALUE", "count": 20, "cursor": "NEXT_CURSOR" } } }; const response = await fetch('https://mcp.pressmonitor.com/news-geonamescity/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": "news_fulltext", "arguments": { "code": "SOME_STRING_VALUE", "lang_code": "SOME_STRING_VALUE", "country_code": "SOME_STRING_VALUE", "count": 20, "cursor": "NEXT_CURSOR" } } } response = requests.post( 'https://mcp.pressmonitor.com/news-geonamescity/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json())