karnameh-mcp
karnameh-mcp is a read-only MCP server exposing 15 tools for Karnameh's public Iranian used-car ads, new-car prices, car specs, and magazine content.
Search used-car ads with filters for brand, model, city, price, year, mileage, inspected status, and instalments; sort and paginate results.
Read one used-car ad in full, including specs, seller description, strengths, inspection summary/date, link, and verdict.
Look up Karnameh car brands/models and city slugs/IDs.
List today's new-car market prices and latest price quotes with daily percent change.
Get daily new-car price history per production year and rank biggest price movers.
Search a car-variant specs catalog, read technical specs plus AI-written review score/pros/cons, and compare 2–4 variants side by side.
Count used-car ads per city and find each city's cheapest ad, optionally filtered by brand, model, or max price.
List Karnameh walk-in inspection and paint-check centers in a city.
Search/list Karnameh magazine articles and read one article as plain text.
No API key or account is needed; output is compact JSON with prices in Toman and Persian names/descriptions as listed.
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., "@karnameh-mcp Find used Pride ads in Tehran under 500 million toman"
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.
karnameh-mcp: Karnameh (کارنامه) used-car ads and car prices MCP server for AI agents
karnameh-mcp is an unofficial, read-only MCP server that gives AI agents the public data of Karnameh (karnameh.com), an Iranian car marketplace. Its 15 tools search used-car ads with real filters, read an ad in full, look up brands and cities, list today's market prices of new cars with history and biggest movers, give car specs and expert review summaries with side-by-side comparison, count ads per city, and read the Karnameh car magazine. No API key or Karnameh account is needed. It works in Claude, Cursor, Copilot and any other MCP client.
For AI agents · Quick start · Tools · FAQ · فارسی
For AI agents
What: unofficial MCP server (model context protocol) for karnameh.com: used-car ads with filters (brand, model, city, price, year, mileage, inspected, instalments), full ad details, brand and city lookup, zero-km market prices and daily price history.
Install:
uvx karnameh-mcporclaude mcp add karnameh -- uvx karnameh-mcp. Transport: stdio. Needs uv (Python 3.10+).Auth: none, no API key or account. Optional
KARNAMEH_MCP_PROXY(HTTP proxy URL, or a comma-separated list); system proxy settings are ignored.Access: read-only. It cannot log in, contact sellers, book inspections or post ads, so no confirmation is needed before calling any tool.
Tools: 15, all prefixed
kn_. Typical sequences:kn_cars->kn_car;kn_price_list->kn_price_history;kn_brands->kn_cars;kn_specs_search->kn_specs/kn_compare_specs;kn_articles->kn_article.Use when: the user asks what a used car costs in Iran, wants to find a car for sale by brand, model, budget or city, wants one ad read in full, or asks the price of a new (zero-km) car and how it moved lately.
Do not use when: the user needs the full Karnameh inspection report, a price estimate for their own car (both need a Karnameh login) or ads from other sites.
Output: compact JSON. Prices are Toman. Names and descriptions are Persian, as Karnameh has them.
Machine-readable:
server.jsonand the iran-mcp catalog.
Related MCP server: mobile-ir-mcp
Quick start
claude mcp add karnameh -- uvx karnameh-mcpAny other client: command uvx, args ["karnameh-mcp"].
Tools
Tool | What it does |
| Search used-car ads by text, brand, model, city, price, year, mileage, inspected, instalments; sort; page. |
| One ad in full: specs, description, strengths, inspection date, link and verdict. |
| Brand and model names in Persian and English. |
| City slugs for |
| Today's market prices of new cars by brand, model, origin, country, price, year. |
| Most recent price quotes with percent change. |
| Daily average price per production year, plus each source's quote for a year. |
| New-car variants ranked by their latest percent price change (rises, drops). |
| Find a car variant's slug in the specs catalog. |
| Technical specs, AI review score, pros and cons, web reviews of one variant (falls back to the parent model's sheet, with a note, when the variant has none). |
| Two to four variants side by side (only the differing rows by default). |
| Used-ad count and cheapest ad in every city, optionally per brand or model. |
| Karnameh walk-in inspection and paint-check centers of a city. |
| Search or list the Karnameh car magazine (news, reviews, maintenance, laws). |
| One magazine article as plain text. |
FAQ
Does it need a Karnameh account? No. Everything is public data the website shows to anyone.
How many ads are there? Karnameh lists a few hundred used cars at a time, so this is not the whole Iranian market.
Why is there no price estimator or inspection report? Both need a Karnameh login on the website.
Proxy? The server ignores system proxies. Set KARNAMEH_MCP_PROXY if you need one.
فارسی
سرور MCP غیررسمی و فقطخواندنی برای کارنامه (karnameh.com): جستجوی آگهی خودروی کارکرده با فیلتر برند، مدل، شهر، قیمت، سال و کارکرد، خواندن کامل یک آگهی، قیمت روز خودروی صفر و روند قیمت. بدون کلید API و بدون حساب کاربری.
نصب: claude mcp add karnameh -- uvx karnameh-mcp
ساختهشده توسط سپهر رادمرد: github.com/sepehr071 · linkedin.com/in/sepehr-radmard
مجوز استفاده (License)
استفادهٔ شخصی و غیرتجاری رایگان است. استفاده در شرکت، محصول پولی یا پروژهٔ مشتری به مجوز تجاری نیاز دارد؛ از راه لینکدین یا گیت‌هاب با سپهر رادمرد تماس بگیرید. متن کامل: PolyForm Noncommercial 1.0.0. نسخه‌های پیش از 0.2.1 با مجوز MIT منتشر شده‌اند و همان مجوز را دارند.
Free for personal and non-commercial use under the PolyForm Noncommercial License 1.0.0. Using it in a company, a paid product or a client project needs a commercial license: contact Sepehr Radmard on LinkedIn or GitHub. Versions before 0.2.1 were released under MIT and stay under it.
Available Tools
15 toolskn_articleRead a blog articleARead-onlyIdempotent
Read one article of the Karnameh car magazine as plain text.
Use after kn_articles. Cut at max_chars (truncated); url has the full page.
Inputs: id (required), max_chars.
kn_articlesCar blog articlesARead-onlyIdempotent
Search or list articles of the Karnameh car magazine: news, reviews, maintenance, laws.
Newest first. Read one with kn_article(id).
Inputs: page, limit, query, category.
kn_brandsLook up car brands and modelsARead-onlyIdempotent
Look up Karnameh's car brands and models, Persian and English, to get the names the other tools expect.
Pass the English brand and model to kn_cars. kn_price_list uses its own English names.
Inputs: query.
kn_carGet one used-car adARead-onlyIdempotent
Get one Karnameh used-car ad: price, specs, seller's description, strengths and the inspection summary.
Use after kn_cars. Only the inspection date, link and one-line verdict are available; no seller phone.
Inputs: id (required).
kn_carsSearch used-car adsARead-onlyIdempotent
Search Karnameh's used-car ads by brand, model, city, price, year and mileage.
Prices are asking prices in Toman. Pass an ad's id to kn_car for the full ad.
Inputs: city, sort, brand, limit, +10 more.
kn_citiesList citiesARead-onlyIdempotent
List the cities Karnameh serves, with the slug kn_cars takes as city and the id kn_inspection_centers takes.
Inputs: no named parameters.
kn_city_statsUsed-car listing counts per cityARead-onlyIdempotent
Count Karnameh's used-car ads in every city, optionally for one brand, model or price ceiling.
Gives each city's cheapest ad. Makes one request per city, so it is slower than kn_cars(city=...).
Inputs: brand, model, max_price.
kn_compare_specsCompare car specsARead-onlyIdempotent
Compare two to four car variants side by side: review score, pros, cons and every spec row.
Use for "A or B?" after kn_specs_search. Spec values follow the order of cars.
Inputs: slugs (required), only_differences.
kn_inspection_centersKarnameh inspection centersARead-onlyIdempotent
List Karnameh's walk-in car inspection and paint-check centers in a city, with address and map coordinates.
Booking and prices are not available here.
Inputs: city_id (required).
kn_latest_pricesLatest new-car price quotesARead-onlyIdempotent
List the most recent price quotes of new cars with the day's percent change.
Covers more variants than kn_price_list, including older models. Gives the exact name for kn_price_history.
Inputs: year, limit, query.
kn_price_historyNew-car price historyARead-onlyIdempotent
Get the daily average market price history of one new-car variant, per production year.
Use after kn_price_list or kn_latest_prices. With year, also lists each source's current quote.
Inputs: name (required), days, year.
kn_price_listNew-car market pricesARead-onlyIdempotent
List today's market prices of new (zero-km) cars from Karnameh's car-price pages.
Use for "how much is a new X". Each row is a variant and production year, in Toman. Older variants (Pars, 405)
are only in kn_latest_prices. For trends call kn_price_history with a row's name.
Inputs: page, year, brand, model, +5 more.
kn_price_moversBiggest new-car price moversARead-onlyIdempotent
Rank new (zero-km) car variants by the percent change of their latest price quote.
change_percent is against the previous quote. Trend: kn_price_history with a row's name.
Inputs: days, year, limit, direction.
kn_specsCar specs and review summaryARead-onlyIdempotent
Get one car variant's technical specs, Karnameh's expert review score, pros and cons and web reviews.
Use after kn_specs_search. The summary and score are AI-written from web reviews: opinion.
Inputs: slug (required).
kn_specs_searchSearch car variants with specsARead-onlyIdempotent
Find car variants in Karnameh's specs catalog and return the slug that kn_specs and kn_compare_specs take.
Only results with variant: true have specs; otherwise search again with more words.
Inputs: query (required), limit.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 15 tools
Most tools are clearly separated by resource and workflow stage: list/detail pairs like kn_cars/kn_car, kn_articles/kn_article, and kn_specs_search/kn_specs are well signposted. The main ambiguity is among the four price tools—kn_price_list, kn_latest_prices, kn_price_history, and kn_price_movers—which are related and could be confused, though their descriptions do explain the distinctions.
All tools use a consistent kn_ prefix, and singular/plural naming usually maps predictably to detail/list behavior. There are minor deviations in construction—kn_compare_specs is verb-first while most others are noun-first, and kn_specs_search mixes a noun with a verb—but the set remains readable and predictable.
Fifteen tools is reasonable for a broad car-marketplace surface spanning ads, brands, new-car prices, specs, articles, cities, and inspection centers. A few price-related tools could arguably be consolidated, but each has a defined role and the count is not excessive.
The server covers the main read-only workflows well: ad search and detail, brand/model lookup, new-car pricing and history, specs and comparison, article search/read, and geographic reference data. Gaps are minor and mostly inherent to the domain, such as no seller phone access and limited inspection-center detail beyond listing.
Maintenance
Related MCP Connectors
Web scraping and Iranian-web data tools for AI agents: JS rendering, proxies, Markdown output.
Automotive data for AI agents: VIN decode, listings, specs, build data, recalls, payments, taxes.
Car-listing search and used-car market analysis as agent tools.
Web search, browser automation, scraping, crawling and CAPTCHA solving for AI agents.
Related MCP Servers
- AlicenseAqualityBmaintenanceEnables AI agents to search and read Divar classified ads across Iranian cities, covering homes, cars, phones and more, with price statistics, deal finding, fair-price appraisal, ad comparison and map browsing. It is read-only, needs no account or API key, and returns compact JSON with prices in Toman.831471 PyPI1PolyForm Noncommercial 1.0.0
- AlicenseAqualityBmaintenanceEnables AI agents to search Iran's Mobile.ir phone database for specifications, shop prices and price history, used-phone ads, comments, and numbered SIM cards through read-only tools that require no API key.17242 PyPI3PolyForm Noncommercial 1.0.0
- AlicenseAqualityBmaintenanceEnables AI agents to search and inspect Bama's Iranian car, motorcycle, and truck listings, compute asking-price statistics, browse new-car price lists and dealer inventories, and retrieve specs, ratings, and market trends without an API key.12175 PyPI4PolyForm Noncommercial 1.0.0
- AlicenseAqualityBmaintenanceEnables AI agents to read public Hamrah Mechanic data read-only with no API key: daily Iranian car market prices by brand, model, trim and year, price ranges and monthly history, filtered used and zero-km listings with full ad details, inspection fees, showroom locations, and expert reviews and magazine articles. Works in Claude, Cursor, Copilot and other MCP clients over stdio.12164 PyPI2PolyForm Noncommercial 1.0.0