Skip to main content
Glama

shikum-mcp — שרת MCP מקומי + סקיל לאתר אגף השיקום

הבהרה קבועה: פרויקט קהילתי עצמאי בקוד פתוח. אינו קשור, אינו מופעל ואינו מאושר על ידי משרד הביטחון או אגף השיקום.

שרת MCP מקומי (stdio) בקוד פתוח מבוסס Python (FastMCP) + סקיל shikum-assistant לשימוש ב-Antigravity, Claude Code ו-NanoClaw.

עקרונות אבטחה ופרטיות (Non-Negotiable)

  1. Local-First בלבד (stdio): רץ 100% מקומית. אין שרת מרוחק, אין טלמטריה ואין העלאת קבלות לענן.

  2. אפס שמירת סיסמאות / קודי SMS: ההזדהות לאזור האישי מתבצעת תמיד ידנית (Human-in-the-Loop) בחלון Chromium גלוי (headless=False) עם פרופיל מקומי (.browser_profile/, מוחרג ב-.gitignore).

  3. טיוטות בלבד (Draft-Only): אף כלי אינו לוחץ אוטומטית על כפתור "שלח". השרת ממלא את הטופס, מצרף את הקבלה, שומר צילום מסך מקומי לווידוא ועוצר כדי שהמשתמש יאשר וישלח ידנית.

  4. הגנה על מידע רפואי רגיש (Zero-PHI + Redaction):

    • שכבת מיסוך מקומית (redaction.py) מסתירה ת"ז, מספרי תיק, טלפונים, כתובות מייל ושמות רופאים לפני החזרת טקסט למודל.

    • חיפוש זכויות (שלב ב') מתבצע מול מאגר SQLite FTS5 מקומי של מידע פומבי בלבד מ-shikum.mod.gov.il, ללא בקשת אבחנות רפואיות.

Related MCP server: MIDAS

כלים (MCP Tools)

כלי

תיאור

ensure_shikum_session

פתיחת האזור האישי בחלון Playwright גלוי, זיהוי התחברות קיימת או המתנה להזדהות SMS ידנית.

parse_receipt

קריאה מקומית של קבלה (PDF / תמונה / טקסט), חילוץ ספק, תאריך, סכום, מספר קבלה וקטגוריה + טקסט ממוסך (Redacted).

prepare_reimbursement_draft

מילוי טופס החזר הוצאות וצירוף קבלה, עצירה לפני שליחה ושמירת צילום מסך לווידוא.

prepare_inquiry_draft

מילוי טופס פנייה לאגף השיקום ועצירה לפני שליחה עם צילום מסך.

search_public_rights

חיפוש מקומי (SQLite FTS5) במאגר הזכויות הפומבי של shikum.mod.gov.il ללא PHI.

התקנה מקומית

git clone https://github.com/KanielDatz/shikum-mcp.git
cd shikum-mcp
python3 -m venv .venv
source .venv/bin/activate
pip install -e ".[dev]"
playwright install chromium

לתמיכה ב-OCR מקומי לתמונות וקבצי PDF סרוקים:

pip install -e ".[ocr]"
# ובמערכת ההפעלה (Ubuntu/Debian): sudo apt-get install tesseract-ocr tesseract-ocr-heb poppler-utils

לחלופין, ניתן להשתמש במודל Vision מקומי ב-Ollama בלבד (אך ורק על localhost):

export SHIKUM_OLLAMA_VISION_MODEL="llama3.2-vision"

חיבור ל-Antigravity / Claude Code / NanoClaw

הוסיפו את הגדרת השרת לקובץ קונפיגורציית ה-MCP שלכם:

{
  "mcpServers": {
    "shikum-mcp": {
      "command": "/path/to/shikum-mcp/.venv/bin/shikum-mcp",
      "args": []
    }
  }
}

התקנת הסקיל shikum-assistant

הסקיל נמצא ב-shikum-assistant/ וכן מוגדר ב-.agent/skills/shikum-assistant/:

# ל-Claude Code:
mkdir -p ~/.claude/skills
cp -r shikum-assistant ~/.claude/skills/shikum-assistant

מיפוי ועדכון סלקטורים (Inspector)

אם ממשק shikum.mod.gov.il משתנה, ניתן לפתוח את Playwright Inspector מקומית למיפוי סלקטורים:

shikum-mcp-inspect
# או להדפיס את סלקטורי ברירת המחדל לקובץ עקיפה מקומי:
shikum-mcp-inspect --dump-defaults > selectors.local.json
export SHIKUM_SELECTORS_FILE="$(pwd)/selectors.local.json"

הרצת בדיקות

pytest

Available Tools

5 tools
ensure_shikum_sessionA

Open the Shikum personal area in a visible local Chromium window (headless=False).

Detects an existing authenticated session or waits for the user to complete manual SMS / National ID authentication. Never stores or enters credentials.

Inputs: wait_timeout_seconds. Returns: object

parse_receiptA

Parse a local receipt (PDF, image, or text) 100% locally with PII/PHI redaction.

Returns vendor, date, amount, currency, receipt_number, suggested_category, and redacted raw text (Israeli IDs, case numbers, phone numbers, and doctor names are masked before returning to the model).

Inputs: file_path (required). Returns: object

prepare_inquiry_draftB

Fill an inquiry form in the Shikum personal area and STOP before submission.

Never clicks the final Send button. Captures a local verification screenshot for manual review and submission by the user.

Inputs: body (required), subject (required), category (required), attachment_paths. Returns: object

prepare_reimbursement_draftA

Fill the reimbursement form and attach the receipt file, then STOP before submission.

Never clicks the final Send button. Captures a local verification screenshot so the user can inspect the draft and submit manually.

Inputs: date (required), amount (required), category (required), file_path (required), +1 more. Returns: object

search_public_rightsA

Search the local SQLite FTS5 knowledge base of public shikum.mod.gov.il rights.

Zero-PHI: accepts only general non-identifying eligibility topics (e.g. הבראה, לימודים, דיור, רכב, החזרי הוצאות) and returns public eligibility rules, required documents, and official shikum.mod.gov.il links.

Inputs: query (required), category. Returns: object

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.9/5.0

    Scored across 5 tools

    Disambiguation5/5

    Each tool has a narrowly defined role: session establishment, local receipt parsing, two form-preparation tools distinguished by form type (reimbursement vs. inquiry), and public-rights search. The two draft tools could blur, but their names and descriptions specify different forms and different targets, so selection is unambiguous.

    Naming Consistency4/5

    All names use snake_case verb-first phrasing (parse_receipt, prepare_reimbursement_draft, prepare_inquiry_draft, search_public_rights), which is highly predictable. ensure_shikum_session is a slight outlier because it inserts the project name between verb and object, but the pattern remains readable.

    Tool Count5/5

    Five tools map tightly to a focused, human-in-the-loop workflow: authenticate, extract receipt data, draft one of two forms, or look up public rights. Nothing feels redundant and nothing feels padded.

    Completeness4/5

    The surface covers the core intake-to-draft lifecycle while deliberately omitting submission, which is handled by the user. Gaps remain around checking draft or submission status and retrieving previously prepared drafts, but agents can work around these by re-running the flow.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers