mcpField
E
ehliyet-digital

ehliyet-digital

Remote
ehliyet.digitalScience & Education1Updated 1w ago

About ehliyet-digital

ehliyet-digital is an open-source Turkish driving-license exam preparation platform based on the MEB MTSK curriculum. It offers lesson notes, quick facts, past questions, and mock exams, with content also available through an MCP server and REST API.

Key features

  1. 01MEB MTSK-aligned lesson notes and summaries
  2. 02Quick facts across exam topics
  3. 03200 past exam questions with answers
  4. 04Mock exams in the real exam format
  5. 05REST API and machine-readable data

Use cases

  1. 01Review driving exam topics with lesson notes
  2. 02Practice with past questions by section
  3. 03Take a full-format mock driving exam
  4. 04Retrieve exam content through an AI agent

MCP support

Its remote MCP server exposes tools for practice questions, quick facts, mock exams, lesson summaries, and answer explanations.

Configuration

Remote servers need no local install. Pick your client, then copy the config or install in one click.

Endpointhttps://ehliyet-production.up.railway.app/mcp
Copy install command
Claude CodeTerminal
Cursor.cursor/mcp.json
VS Code.vscode/mcp.json
Claude Desktopclaude_desktop_config.json
Windsurf~/.codeium/windsurf/mcp_config.json

Run commands in a terminal; paste JSON into the client’s MCP config and restart. Servers that need sign-in will prompt on first connect.

All endpoints
Streamable HTTPhttps://ehliyet-production.up.railway.app/mcp
SSEhttps://ehliyet-production.up.railway.app/sse

Tools

Details

From the project README

ehliyet.digital

Türkiye ehliyet (sürücü belgesi) sınavına ücretsiz hazırlık platformu.

MEB MTSK müfredatına uygun 50 ders notu, 80 hap bilgi, 200 çıkmış sınav sorusu ve gerçek formatta deneme sınavları. Reklamsız, açık kaynak.

🌐 Site: ehliyet.digital 📄 LLM dizini: llms.txt · llms-full.txt 🔌 MCP: ehliyet-production.up.railway.app/mcp · MCP Market · Smithery · MCP Registry: io.github.merlhn/ehliyet-digital


Ne içerir?

İçerikAdetAçıklama
Ders notları434 kategoride sınav odaklı konu anlatımı
Hap bilgiler80Tek cümlelik ezberlenecek kurallar
Atomik özetler~560Her ders sayfasında makine-okunur bilgi satırları
Sınav soruları2004 deneme sınavından çıkmış sorular + cevaplar
Bireysel soru sayfaları186Her soru kendi URL'inde, cevap + açıklama ile
Bireysel hap bilgi sayfaları80Her hap bilgi kendi URL'inde, bağlam + ilgili ders ile
Ders kategorileri
KategoriKonu sayısıSınav dağılımı
İlk Yardım1212 soru (%24)
Trafik ve Çevre Bilgisi1823 soru (%46)
Araç Tekniği (Motor)159 soru (%18)
Trafik Adabı56 soru (%12)
Sınav formatı
  • 50 soru, 45 dakika
  • Her doğru cevap 2 puan, yanlış doğruyu götürmez
  • Geçme notu: 70 puan (en az 35 doğru)

API

Tüm verilere programatik erişim — CORS açık, kimlik doğrulama yok.

REST API (Vercel)
# 5 rastgele İlk Yardım sorusu
curl "https://ehliyet.digital/api/questions?section=ilk_yardim&count=5"

# Trafik ve Çevre hap bilgileri
curl "https://ehliyet.digital/api/quick-facts?section=trafik_ve_cevre"

# 50 soruluk deneme sınavı (gerçek dağılımla)
curl "https://ehliyet.digital/api/mock-exam"

# Fren sistemi ders özeti
curl "https://ehliyet.digital/api/lesson-summary?section=arac_teknigi&topic=fren"

Endpoint'ler:

EndpointParametrelerAçıklama
/api/questionssection, countRastgele soru döner
/api/quick-factssectionHap bilgiler
/api/mock-exam—50 soruluk tam deneme
/api/lesson-summarysection, topicDers atomik özeti

section değerleri: ilk_yardim, trafik_ve_cevre, arac_teknigi, trafik_adabi, all

Örnek yanıt
{
  "count": 1,
  "section": "ilk_yardim",
  "source": "ehliyet.digital",
  "questions": [
    {
      "id": "sinav1-q02",
      "exam": "Sınav 1",
      "section": "İlk Yardım",
      "stem": "Yetişkinlerde temel yaşam desteği ile ilgili uygulamalardan hangisi doğrudur?",
      "options": [
        "A) Göğüs kemiği 3 cm aşağı inecek şekilde bası yapılması",
        "B) Temel yaşam desteğine yapay solunum ile başlanması",
        "C) 30 kalp masajı, 2 yapay solunum şeklinde uygulanması",
        "D) Kalp masajı hızının dakikada 30 bası olacak şekilde ayarlanması"
      ],
      "correct_index": 2,
      "correct_letter": "C",
      "correct_text": "30 kalp masajı, 2 yapay solunum şeklinde uygulanması",
      "has_image": false
    }
  ]
}

MCP Sunucusu

AI agent'lar Model Context Protocol ile doğrudan bağlanabilir.

Remote (canlı):

Streamable HTTP: https://ehliyet-production.up.railway.app/mcp   (önerilen)
SSE (eski):      https://ehliyet-production.up.railway.app/sse

Claude Desktop yapılandırması:

{
  "mcpServers": {
    "ehliyet-digital": {
      "type": "http",
      "url": "https://ehliyet-production.up.railway.app/mcp"
    }
  }
}

Lokal çalıştırma:

cd mcp
pip install -r requirements.txt
python server.py          # stdio (Claude Desktop/Code)
python server.py --http   # HTTP/SSE (remote agent'lar)

Araçlar:

AraçAçıklama
get_practice_questions(section, count)Rastgele soru döner
get_quick_facts(section)Hap bilgiler
generate_mock_exam()50 soruluk deneme sınavı
get_lesson_summary(section, topic)Ders atomik özeti
explain_answer(question_id)Soru açıklaması + ilgili dersler

Veri dosyaları

Makine-okunur JSON formatında:

Dosyaİçerik
mcp/data/questions.json200 soru (4 sınav)
mcp/data/quick-facts.json80 hap bilgi
mcp/data/lesson-summaries.json50 ders, ~560 atomik bilgi

Teknoloji

  • Frontend: Statik HTML/CSS/JS — build adımı yok, SSR
  • Hosting: Vercel (site) + Railway (MCP)
  • Auth: Firebase (Google OAuth)
  • Veritabanı: Firestore (yalnızca kullanıcı profili ve sınav sonuçları)
  • Analytics: GA4 (custom event'ler: log_in (her başarılı Google girişi; yeni_uye, sayfa), standart_sign_up (girişte, yeni üye ve Sınav 1 akışı dışında), sign_up_end_of_exam_no_1, exam_start / exam_complete (panel), start_exam_1 / exam_1_complete (web Sınav 1), exam_abandon, result_gate_view, banner_click, feedback_submit; sınav event'leri kaynak = web / panel taşır)

Yerelde çalıştırma

python3 -m http.server 8000
# http://localhost:8000

Proje yapısı

├── index.html                  Ana sayfa
├── dersler/                    50 ders notu (4 kategori)
├── hap-bilgiler/               80 hap bilgi (4 kategori)
├── ehliyet-sinav-sorulari/     20 örnek soru + 186 sorunun dizini; alt dizinler: konu bazlı soru sayfaları
├── deneme-sinavi/              Herkese açık deneme sınavı (yalnız Sınav 1, giriş gerekmez)
├── ehliyet-fiyatlari/                   2026 ehliyet fiyatları (harç, sınav, kurs)
├── soru/                       186 bireysel soru sayfası
├── panel/                      Giriş gerektiren alan (sınavlar)
├── api/                        REST API (Vercel serverless)
├── mcp/                        MCP sunucusu + veri dosyaları
├── assets/js/questions-*.js    Soru bankaları (4 sınav)
├── tools/                      Üretici scriptler
│   ├── schema-uret.py          JSON-LD yapısal veri
│   ├── sitemap-uret.py         sitemap.xml
│   ├── llms-uret.py            llms-full.txt
│   ├── feed-uret.py            RSS feed + discovery link
│   ├── soru-sayfa-uret.py      Bireysel soru sayfaları
│   ├── hap-sayfa-uret.py       Bireysel hap bilgi sayfaları
│   ├── konu-deneme-uret.py     Panel konu denemesi sayfası
│   ├── konu-listesi-uret.py    Konu listeleri ve ders özetleri (sınav konuları, ders hub'ları; lessons-nav.js'ten)
│   ├── yil-guncelle.py         1 Ocak'ta başlıklardaki yılı yeniler (ücret sayfaları --veri ile)
│   ├── banner-ekle.py          Header üstü deneme sınavı banner'ı (zincirin en sonunda çalışır)
│   ├── atomik-ekle.py          Ders atomik özetleri
│   ├── cevap-ac.py             Soru cevaplarını HTML'e taşı
│   ├── indexnow.py             Değişen sayfaları Bing/IndexNow'a bildir
│   └── mcp-veri-uret.py        MCP JSON veri dosyaları
├── llms.txt                    AI/LLM site dizini
├── llms-full.txt               Detaylı içerik dizini
├── feed.xml                    RSS feed
├── sitemap.xml                 251 URL
├── robots.txt                  AI tarayıcıları açık
└── 404.html                    Özel hata sayfası

İçerik kaynakları

  • MEB Motorlu Taşıt Sürücüleri Kursu (MTSK) müfredatı
  • 2918 sayılı Karayolları Trafik Kanunu ve ilgili yönetmelikler
  • Türkiye Kızılay Derneği ilk yardım eğitim materyalleri
  • Gerçek MTSK e-sınavlarında çıkmış sorular

Lisans

Bu proje açık kaynak olarak yayınlanmıştır. İçerikler MEB MTSK müfredatından derlenmiştir.


İletişim

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.