maktabkhooneh-mcp
Click on "Deploy 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., "@maktabkhooneh-mcpcheapest Python courses on Maktabkhooneh and which one has the best rating?"
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.
maktabkhooneh-mcp: Maktabkhooneh MCP server for AI agents
Unofficial, read-only MCP server that lets your AI agent search Maktabkhooneh (مکتب‌خونه), the Iranian online course platform: compare prices and discounts, find free courses, read curricula and reviews, look up teachers and universities.
Covers about 5,700 Persian video courses on maktabkhooneh.org, prices in Toman. No API key, no account. Works with Claude, Cursor and Copilot.
Quick start · Tools · FAQ · فارسی
For AI agents
What: Unofficial MCP server for Maktabkhooneh (مکتب‌خونه, maktabkhooneh.org), an Iranian online course platform. Queries in Persian work best; prices in Toman.
Install:
claude mcp add maktabkhooneh -- uvx maktabkhooneh-mcp(stdio, needs uv and Python 3.10+).Auth: none. Optional
MAKTABKHOONEH_MCP_PROXYsets an HTTP proxy (or a comma-separated list) for every request.Access: read-only. It cannot log in, enrol, buy or review.
Tools: 12, all prefixed
mkh_. Start withmkh_search,mkh_browse,mkh_cheapest,mkh_course,mkh_free_courses.Typical sequence:
mkh_search(ormkh_categories->mkh_browse) ->mkh_course->mkh_curriculumormkh_reviews.Use when: the user wants to find an Iranian online course, compare price, level, hours and rating, find free or discounted courses, or look up a teacher or a university's courses.
Do not use when: the user wants to enrol, pay, watch lessons or needs their own account data.
Output: compact JSON. Prices in Toman (
final_priceis what you pay, 0 = free), rating 0-5, numeric course ids to pass between tools, paging withnext_page.Machine-readable: server.json, and the catalog of all Iranian MCP servers awesome-iran-mcp.
Related MCP server: shopino-mcp
Quick start
You need uv.
claude mcp add maktabkhooneh -- uvx maktabkhooneh-mcpAny other MCP client (Claude Desktop, Cursor, VS Code): run uvx maktabkhooneh-mcp as a stdio server (or
pip install maktabkhooneh-mcp and run maktabkhooneh-mcp), e.g.
{
"mcpServers": {
"maktabkhooneh": { "command": "uvx", "args": ["maktabkhooneh-mcp"] }
}
}Then ask, for example:
"The cheapest Python courses on Maktabkhooneh with a certificate, and which has the best rating?"
"Free advanced programming courses from University of Tehran."
"What is in course 1318 and what do learners say about it?"
بهترین دوره‌های رایگان زبان انگلیسی کدامند؟
How it works
maktabkhooneh-mcp runs locally and calls the same public JSON API the maktabkhooneh.org website uses
(/api/v1/courses/..., /api/v1/accounts/teacher/..., /api/v1/organization/...); the publisher list is read from
the site's sitemap. No hosted server in between. API map and quirks: ../maktabkhooneh/.
Tools
All 12 tools are annotated readOnlyHint: true and return compact structured JSON.
Find courses
Tool | What it does |
| Text search (Persian or English) with price, discount, hours, rating, students, teachers; sort relevance / popular / new; first 300 matches |
| A category or all ~5,700 courses with the site's filters: paid / free, level, hours, minimum rating, publisher, feature (certificate, exam and project, Persian subtitle or dubbing); sort popular / new / rate |
| Free courses (~740), optionally per category, level and rating |
| Cheapest paid courses for a topic or category, with a price ceiling (scans the first 300 results) |
| Biggest current discounts, with a minimum percent and price ceiling |
| The category tree (~680 nodes): top-level groups, one subtree, or title search; gives the slugs for the tools above |
One course
Tool | What it does |
| Full / content-only / upgrade prices, discount end, level, hours, teachers, publisher, category, prerequisites, features, description, FAQ |
| Chapters and lessons with type and duration |
| Learner reviews (stars, text, date, instructor reply) and the star histogram; reviewer names are left out |
People
Tool | What it does |
| A teacher's profile (bio, students, rating, links) and courses |
| Publishers (~180 universities and companies) with their ids; name search |
| A publisher's totals and its most popular courses |
Good to know
Prices are in Toman (the site shows the same numbers with «تومان»; its JSON-LD labels them IRR, which is wrong).
final_priceis what you pay,pricethe list price (shown only when discounted),discount_pcta whole percent,freetrue for 0.The site cannot sort or filter by price.
mkh_cheapestandmkh_dealsscan the first 300 results (3 requests of 100) and sort here;scannedoftotaltells how complete the answer is. Usemkh_browsefilters to narrow the pool first.mkh_searchreaches only the first 300 matches and the site ignores filters there; filter withmkh_browseinstead (it has no text query).full,content_only,upgradeinmkh_course: the whole course (lessons, projects, certificate), lessons only, and the price to upgrade from lessons-only to full.hoursis a number, or"H:MM"for courses under two hours.kind:PLUSpaid,MAKTABfree,HAMAYESHevents.Discounts are time limited (a site-wide sale ran 14-22 Oct 2026);
mkh_coursegivesdiscount_ends.Persian queries match best.
Configuration
Variable | Default | Meaning |
| unset | HTTP proxy for every request, e.g. |
FAQ
Is there a Maktabkhooneh API or MCP server for AI agents? Yes: this unofficial MCP server wraps the public JSON API the maktabkhooneh.org website itself uses, so Claude, Cursor or Copilot can search courses and read prices, curricula and reviews.
Is it official, safe and free? It is unofficial, open source (MIT) and free. It is read-only, needs no account or API key, and runs on your machine with no hosted server in between.
Can it enrol me or play a lesson? No. It only reads public catalog data. Enrolment, payment and lessons happen on maktabkhooneh.org.
فارسی: سرور MCP مکتب‌خونه
maktabkhooneh-mcp یک سرور MCP غیررسمی برای مکتب‌خونه است که به دستیار هوش مصنوعی شما (Claude، Cursor، Copilot و ...) اجازه می‌دهد در میان حدود ۵٬۷۰۰ دوره آموزشی فارسی جستجو کند، قیمت و تخفیف‌ها را مقایسه کند، دوره‌های رایگان را پیدا کند و سرفصل و نظر دانشجویان را بخواند.
فقط خواندنی است و حساب کاربری یا کلید API نمی‌خواهد.
همه قیمت‌ها به تومان است.
بپرسید: «ارزان‌ترین دوره‌های پایتون با گواهی‌نامه کدامند؟»
Related servers
Fidibo MCP server for Persian ebooks and audiobooks
Taaghche MCP server for Persian ebooks and audiobooks
All Iranian MCP servers: awesome-iran-mcp
Development
export HTTPS_PROXY=http://127.0.0.1:10898 HTTP_PROXY=http://127.0.0.1:10898 # uv downloads only
uv sync
uv run ruff check . && uv run ruff format --check .
uv run python -m pytest -q # offline, on recorded fixtures
uv run python -m pytest -m live -q # real APIIf this saves you clicks, a star helps others find it.
License
MIT
This server cannot be deployed
Maintenance
Related MCP Connectors
Read-only access to Epivo's live course catalogue for AI agents.
Read-only Persian courses, EEG/QEEG guides, articles and live product prices with source links.
Live Iran exchange rates, gold, crypto, and Toman market data for AI agents.
Search and read 550+ free AI course tracks and 21,000+ lessons, so answers can cite a real lesson.
Related MCP Servers
- AlicenseAqualityAmaintenanceEnables AI agents to search Digikala's catalogue, compare every seller's offers and prices, review ~30 days of price history, read customer reviews and Q&A, and surface current deals, all through read-only tools.23906 PyPI33MIT
- AlicenseAqualityAmaintenanceEnables AI agents to search a catalog of roughly 960,000 fashion products across about 10,000 Iranian online and Instagram shops, comparing prices and discounts, checking per-color and per-size stock, browsing categories and curated listings, and finding similar items at other shops. It also lets agents assess shop trust signals such as ratings and buyer surveys, surface flash sales and discount codes, and read blog style guides, all read-only with no login or ordering.14482 PyPI2MIT
- AlicenseAqualityAmaintenanceEnables AI agents to search Iranian doctors, hospitals and clinics by specialty, city, name, gender and online visit, then read profiles, ratings, insurances, patient reviews, visit prices in Toman and free appointment times. Read-only, with no login, booking or payment, so users compare options and get a profile link to book themselves.12676 PyPI3MIT
- AlicenseNot gradedqualityAmaintenanceEnables AI agents to compare and find the cheapest domestic and international flights, hotels, villas, trains and buses in Iran, with exact Toman prices, fare and cancellation rules, baggage details, seats left and hotel reviews. Also covers CIP lounges, eSIM plans, visas and tours, and is read-only, so it never books, holds seats or pays.1MIT