ذكاء الأعمال MCP
GeoNames الدولخادم MCP
توفر GeoNames مرجعيات جغرافية موحدة على مستوى الدول والمواقع عبر جميع الدول والأقاليم. تصنيف الدول مهم لمقارنة الأسواق الوطنية، والاختصاصات السياسية، والتعرض الجيوسياسي، والعمليات الدولية.
MCP الإصدار: 1.0.0 3 أدوات MCP المصادقة
عنوان URL الأساسي
https://mcp.pressmonitor.com/ المصادقة
تستخدم مكالمات MCP أيضًا رموز Bearer عبر طلبات JSON-RPC 2.0.
Authorization: Bearer YOUR_TOKEN اكتشف الأدوات
ابدأ بإدراج الأدوات المعروضة من خادم MCP.
curl -X POST \ 'https://mcp.pressmonitor.com/' \ -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/', { 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/', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) tool
news_headlines الحصول على عناوين الأخبار
الحصول على عناوين الأخبار
المتغيرات
| الاسم | نوع | مطلوب | الوصف |
|---|---|---|---|
| code | string | نعم | رمز الكيان (مثل رمز السهم، رمز الصناعة) |
| lang_code | string | لا | تصفية حسب رمز اللغة (ISO 639-1) |
| country_code | string | لا | تصفية برمز الدولة (ISO 3166-1 alpha-2) |
| count | string | لا | عدد النتائج للعرض |
| cursor | string | لا | مؤشر التصفح (بديل لـ search_after) |
أمثلة الشيفرة
curl -X POST \ 'https://mcp.pressmonitor.com/' \ -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/', { 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/', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) tool
news_briefs الحصول على ملخصات الأخبار
الحصول على ملخصات الأخبار
المتغيرات
| الاسم | نوع | مطلوب | الوصف |
|---|---|---|---|
| code | string | نعم | رمز الكيان (مثل رمز السهم، رمز الصناعة) |
| lang_code | string | لا | تصفية حسب رمز اللغة (ISO 639-1) |
| country_code | string | لا | تصفية برمز الدولة (ISO 3166-1 alpha-2) |
| count | string | لا | عدد النتائج للعرض |
| cursor | string | لا | مؤشر التصفح (بديل لـ search_after) |
أمثلة الشيفرة
curl -X POST \ 'https://mcp.pressmonitor.com/' \ -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/', { 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/', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) tool
news_fulltext الحصول على الأخبار النص الكامل
الحصول على الأخبار النص الكامل
المتغيرات
| الاسم | نوع | مطلوب | الوصف |
|---|---|---|---|
| code | string | نعم | رمز الكيان (مثل رمز السهم، رمز الصناعة) |
| lang_code | string | لا | تصفية حسب رمز اللغة (ISO 639-1) |
| country_code | string | لا | تصفية برمز الدولة (ISO 3166-1 alpha-2) |
| count | string | لا | عدد النتائج للعرض |
| cursor | string | لا | مؤشر التصفح (بديل لـ search_after) |
أمثلة الشيفرة
curl -X POST \ 'https://mcp.pressmonitor.com/' \ -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/', { 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/', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json())