Karnameh Cars

v0.2.1
io.github.sepehr071/karnameh-mcp Checked 3 days ago Published 17 days ago

Read-only Karnameh (karnameh.com) Iran car data: used ads, new-car prices, specs, comparisons, blog.

A 88/100 Discovery passed License not confirmed SearchCloud

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

kn_cars Search used-car ads

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.

ParameterTypeDescription
brandstring | nullEnglish slug (peugeot) or Persian brand. See kn_brands.
citystring | nullCity slug from kn_cities, e.g. tehran.
inspected_onlybooleanOnly inspected ads.
installments_onlybooleanOnly ads with instalments.
limitintegerAds to return.
max_priceinteger | nullMaximum price, Toman.
max_usage_kminteger | nullMaximum odometer, km.
max_yearinteger | nullNewest year, Persian or Gregorian.
min_priceinteger | nullMinimum price, Toman.
min_yearinteger | nullOldest year, Persian (1398) or Gregorian.
modelstring | nullModel within the brand, e.g. 206 or Corolla, or Persian.
offsetintegerAds to skip.
querystring | nullPersian free text, e.g. 'پژو 206'.
sortstringOrder.

kn_car Get one used-car ad

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.

ParameterTypeDescription
id *stringAd `id` from kn_cars (UUID).

kn_brands Look up car brands and models

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.

ParameterTypeDescription
querystring | nullPart of a brand or model name, Persian or English. Empty lists all brands.

kn_cities List cities

List the cities Karnameh serves, with the slug kn_cars takes as `city` and the id kn_inspection_centers takes.

kn_price_list New-car market prices

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`.

ParameterTypeDescription
brandstring | nullEnglish brand, e.g. Peugeot, Toyota.
countrystring | nullChina, Iran, Japan, Korea, German, France or Italia.
max_priceinteger | nullMaximum price, Toman.
min_priceinteger | nullMinimum price, Toman.
modelstring | nullEnglish model, e.g. 207i.
originstring | nullIranian-made or imported.
pageintegerPage of 10 model groups.
searchstring | nullPersian free text, e.g. سمند.
yearinteger | nullProduction year (Persian, 1405).

kn_latest_prices Latest new-car price quotes

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.

ParameterTypeDescription
limitintegerQuotes to return.
querystring | nullPart of the English variant name, e.g. Pars, Dena. Empty for all.
yearinteger | nullProduction year (Persian, 1404).

kn_price_history New-car price history

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.

ParameterTypeDescription
name *stringExact English `name` from kn_price_list or kn_latest_prices, e.g. 'Peugeot 207i Manual TU5P'.
daysintegerLatest daily points per year.
yearinteger | nullProduction year (Persian). Omit for all.

kn_specs Car specs and review summary

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.

ParameterTypeDescription
slug *stringVariant `slug` from kn_specs_search.

kn_compare_specs Compare car specs

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`.

ParameterTypeDescription
slugs *arrayVariant slugs from kn_specs_search.
only_differencesbooleanOnly rows where the cars differ.

kn_articles Car blog articles

Search or list articles of the Karnameh car magazine: news, reviews, maintenance, laws. Newest first. Read one with kn_article(id).

ParameterTypeDescription
categorystring | nullBlog section.
limitintegerArticles to return.
pageintegerPage number.
querystring | nullPersian search words.

kn_article Read a blog article

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.

ParameterTypeDescription
id *integerArticle id from kn_articles.
max_charsintegerCut text after this many characters.

kn_price_movers Biggest new-car price movers

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`.

ParameterTypeDescription
daysintegerOnly quotes within this many days of the newest.
directionstringBiggest rises, drops, or either.
limitintegerRows to return.
yearinteger | nullProduction year (Persian, 1404).

kn_city_stats Used-car listing counts per city

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=...).

ParameterTypeDescription
brandstring | nullEnglish or Persian brand (kn_brands).
max_priceinteger | nullMaximum price, Toman.
modelstring | nullModel within the brand.

kn_inspection_centers Karnameh inspection centers

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.

ParameterTypeDescription
city_id *integerCity `id` from kn_cities.