الرئيسية ← للمطوّرين: ربط المساعدات الذكية (MCP)

للمطوّرين: ربط المساعدات الذكية (MCP)

خادم MCP للبوابة: https://mcp.law.arbiter.sa/mcp — يعمل بحساب عضويتك في البوابة (OAuth 2.1)، فلا مفتاحَ تلصقه ولا كلمةَ مرورٍ يراها التطبيق.

الربط

  • Claude (claude.ai وتطبيقاته): Customize ← Connectors ← + Add ← Add custom connector، والصق العنوان أعلاه، ثم ادخل بحسابك في البوابة ووافق في صفحة الموافقة.
  • ChatGPT: أضِف تطبيقًا/موصلًا مخصّصًا بعنوان الخادم نفسه من إعدادات التطبيقات والموصلات (حيث تتيحه خطّتك)، ثم ادخل ووافق.
  • Claude Code: claude mcp add --transport http law https://mcp.law.arbiter.sa/mcp ثم /mcp لإتمام الدخول.

الأدوات

  • search_provisions — البحث في المواد: نصٌّ مختصر ورابطُ المادة وحالتُها.
  • get_provision — النصّ الكامل لمادةٍ أو أكثر بمعرّفاتها (حتى 20)، أو لنظامٍ كامل على صفحاتٍ أقصاها 100,000 محرف لكلّ نداء.
  • analyze_facts — تحليل وقائع محجوبة بالمواد المسترجَعة (للعضوية المدفوعة) — مساعدةٌ بحثيّة لا رأيٌ قانونيّ.
  • rate_result — تقييم نتيجة (مفيدة · غير مفيدة · مادة ناقصة · رابط خاطئ) بلا نصّ.

الحدود الافتراضية لكلّ عضو

  • المجّانية: البحث وقراءة النصوص 2000 طلبًا في الشهر، وحتى 30 نظامًا كاملًا مميّزًا و600 مادةً منفردة مميّزة في اليوم.
  • المدفوعة: البحث وقراءة النصوص 20000 طلبًا في الشهر، والتحليل 300 طلبًا في الشهر، وحتى 200 نظامًا كاملًا مميّزًا و4000 مادةً منفردة مميّزة في اليوم.
  • السقف لحسابك عبر كلّ موصلاتك لا لكلّ ربط، والحدّ اليوميّ بتوقيت UTC. وقد تُعدَّل الحدود؛ والساري لحسابك يظهر في صفحة الموافقة عند الربط.

واجهة REST للشركاء (عقد المعرفة v1.1)

  • الحقول المجهولة تُتجاهل ولا تُرفض في /api/v1/search و/api/v1/analyze و/api/v1/get: تُنزع قبل أيّ معالجة، ويُعلَن ما تُجوهل في الترويسة X-Ignored-Fields (في كلّ ردّ من النواة، لا في أخطاء التوثيق وinvalid_json و413) وفي warnings بالرمز ignored_fields (في ردّ 200). والحقلُ المعروف بقيمةٍ خاطئة يُرفض كما كان (400 أو 422 بسببه). وعبر MCP: get_provision صارمٌ يرفض الحقل المجهول، وsearch_provisions وanalyze_facts يتجاهلانه ويُعلنانه في warnings.
  • keywords في البحث: كلماتٌ مفتاحية (حتى 10، كلٌّ ≤ 64) تُحجب ثمّ تُضاف إلى الاستعلام بوزنٍ أقلّ من query — مقيسٌ على مجموعة تقييم البحث.
  • مفتاحُ وضع التجربة لا يبلغ أيَّ نموذج: الوقائعُ التجريبية الثلاث تعيد ردّها الثابت، وغيرُها ردٌّ حتميّ من الاسترجاع وحده (model.name = sandbox-retrieval · competentCourt = null · تنبيها sandbox_no_model وcompetent_court_undetermined) — الجسمُ نفسُه يعطي الردَّ نفسَه.

كلّ نتيجةٍ تحمل رابطها على law.arbiter.sa — اعرضه مع النصّ، وطابق بالمصدر الرسمي قبل أيّ إجراء نظامي. الخصوصية ومدد الاحتفاظ: سياسة الخصوصية (وفيها قسمٌ بالإنجليزية). الدعم: majed@arbiter.sa.

For developers: connect an AI assistant (MCP)

MCP server: https://mcp.law.arbiter.sa/mcp (Streamable HTTP). Sign-in is OAuth 2.1 with your law.arbiter.sa member account — the assistant never sees your password.

  • Claude (claude.ai and apps): Customize → Connectors → + Add → Add custom connector, paste the URL, sign in and approve.
  • ChatGPT: add a custom app/connector with the same URL in Apps & Connectors settings (where your plan allows it), then sign in and approve.
  • Claude Code: claude mcp add --transport http law https://mcp.law.arbiter.sa/mcp, then run /mcp to sign in.

Tools: search_provisions (search provisions) · get_provision (full text of up to 20 provisions, or a whole statute in pages of up to 100,000 characters per call) · analyze_facts (analysis of redacted facts, paid plan; a research aid, not legal advice) · rate_result (text-free rating).

Default limits per member (across all connections): free — 2000 search/read requests per month , 30 distinct full statutes and 600 distinct single provisions per day (UTC); paid — 20000 search/read and 300 analysis requests per month, 200 distinct full statutes and 4000 distinct single provisions per day. Limits may change; the limits in force for your account are shown on the consent page.

Partner REST API (knowledge contract v1.1)

  • Unknown request fields are ignored, not rejected on /api/v1/search, /api/v1/analyze and /api/v1/get: they are dropped before any processing and reported in the X-Ignored-Fields header (every core response; not on authentication errors, invalid_json or 413) and in warnings with code ignored_fields (200 responses). A known field with an invalid value is still rejected (400/422 with its reason). Over MCP, get_provision is strict and rejects unknown fields, while search_provisions and analyze_facts ignore them and report them in warnings.
  • Search keywords (up to 10, each ≤ 64 chars) are redacted and added to the query with a lower weight than query, measured on our search evaluation set.
  • A sandbox key never calls a model: the three sandbox fact sets return their fixed response; any other facts get a deterministic retrieval-only response (model.name = sandbox-retrieval, competentCourt = null, warnings sandbox_no_model and competent_court_undetermined) — the same body always yields the same response.

Every result carries its law.arbiter.sa link — show it with the text. Privacy and retention: privacy policy (English section). Support: majed@arbiter.sa.

آخر تحديث لهذه الصفحة: 2026-10-26 · عن المنصّة · إخلاء المسؤولية · الخصوصية · المصادر · للمطوّرين