Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Absher Voice Assistant MCP ServerCheck if I have any traffic fines for national ID 1234567890"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Absher Voice Assistant MCP Server
Standalone MCP (Model Context Protocol) server for Saudi government services (Absher platform).
Overview
This MCP server provides 8 tools for handling authentication, user data, and government services:
Authentication & Identity Tools (3)
verify_national_id - Check if a national ID exists in the system
get_security_questions - Fetch security questions for user verification
verify_security_answers - Verify user's answers to security questions
User Data Tool (1)
get_user_data - Load complete user profile information
Service Discovery Tool (1)
get_service_requirements - Get required fields for a specific service
Service Execution Tools (3)
renew_passport - Submit passport renewal request
get_traffic_fines - Query traffic violations
book_appointment - Schedule government office appointment
Installation
Running the Server
Standalone Mode (for testing)
With MCP Client (recommended)
Use with any MCP-compatible client (Claude Desktop, custom clients, etc.)
Example configuration for Claude Desktop (claude_desktop_config.json):
Mock Data
The server includes 3 test users:
User 1
National ID: 1234567890
Name: أحمد محمد
Passport: A12345678
Traffic Fines: 2 unpaid fines (650 SAR total)
Security Question: ما هو اسم مدينة ميلادك? → الرياض
User 2
National ID: 0987654321
Name: فاطمة أحمد
Passport: B98765432
Traffic Fines: 1 paid fine
Security Question: ما هو اسم مدينة ميلادك? → جدة
User 3
National ID: 1122334455
Name: خالد عبدالله
Passport: C11223344
Traffic Fines: None
Security Question: ما هو اسم مدينة ميلادك? → الدمام
Tool Usage Examples
1. Verify National ID
2. Get Security Questions
3. Verify Security Answers
4. Get User Data
5. Get Service Requirements
6. Renew Passport
7. Get Traffic Fines
8. Book Appointment
Authentication Flow (as per new_flow.txt)
Identity Check: Call
verify_national_idwith user's national IDSecurity Questions: Call
get_security_questionsto fetch questionsSecurity Verification: Ask user questions one-by-one, then call
verify_security_answersLoad User Data: Call
get_user_dataafter successful verificationService Selection: User chooses a service
Requirements Check: Call
get_service_requirementsto see what's neededData Collection: Ask for missing information one question at a time
Confirmation: Show summary and ask for confirmation
Execution: Call service tool (renew_passport, get_traffic_fines, book_appointment)
Confirmation: Return success message to user
Service Requirements
Passport Renewal
Required from user_data: national_id, first_name, last_name, phone, passport_number Required from user_input: renewal_reason, delivery_method
renewal_reason options:
انتهاء الصلاحية
تلف
ضياع
امتلاء الصفحات
delivery_method options:
استلام من المكتب
توصيل بالبريد
Traffic Fines
Required from user_data: national_id
Book Appointment
Required from user_data: national_id Required from user_input: service_type, location, preferred_date
service_type options:
الجوازات
الأحوال المدنية
المرور
location options:
الرياض
جدة
الدمام
Files
absher_server.py- Main MCP server with all 8 toolsmock_data.py- Mock users, fines, appointments, and service requirementsrequirements.txt- Python dependenciesREADME.md- This file
Integration with AI Clients
This MCP server is designed to work with any MCP-compatible AI client:
Claude Desktop: Add to config file
OpenAI Realtime API: Use with custom MCP client bridge
Ollama: Use with mcp_client.py bridge
Custom Clients: Any client that supports MCP protocol
The server is fully independent and stateless - all data is in mock_data.py.
Notes
All responses are in Arabic with English function names
Server uses stdio transport (standard MCP approach)
All tools return JSON strings for easy parsing
Mock data can be easily extended or replaced with real database