Skip to main content

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.

PyPI Python License: PolyForm Noncommercial

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-mcp or claude 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.json and the iran-mcp catalog.

Quick start

claude mcp add karnameh -- uvx karnameh-mcp

Any other client: command uvx, args ["karnameh-mcp"].

Tools

Tool What it does
kn_cars Search used-car ads by text, brand, model, city, price, year, mileage, inspected, instalments; sort; page.
kn_car One ad in full: specs, description, strengths, inspection date, link and verdict.
kn_brands Brand and model names in Persian and English.
kn_cities City slugs for kn_cars.
kn_price_list Today's market prices of new cars by brand, model, origin, country, price, year.
kn_latest_prices Most recent price quotes with percent change.
kn_price_history Daily average price per production year, plus each source's quote for a year.
kn_price_movers New-car variants ranked by their latest percent price change (rises, drops).
kn_specs_search Find a car variant's slug in the specs catalog.
kn_specs 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).
kn_compare_specs Two to four variants side by side (only the differing rows by default).
kn_city_stats Used-ad count and cheapest ad in every city, optionally per brand or model.
kn_inspection_centers Karnameh walk-in inspection and paint-check centers of a city.
kn_articles Search or list the Karnameh car magazine (news, reviews, maintenance, laws).
kn_article 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)

استفادهٔ شخصی و غیرتجاری رایگان است؛ برای استفادهٔ تجاری با سپهر رادمرد تماس بگیرید. Free for personal and non-commercial use; commercial use needs a 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.

Metadata

Release files for karnameh-mcp 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for karnameh-mcp 0.2.1
File Size Uploaded Provenance Actions
karnameh_mcp-0.2.1.tar.gz 117.8 kB With provenance Details for karnameh_mcp-0.2.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for karnameh-mcp 0.2.1
File Interpreter ABI Platform Actions
karnameh_mcp-0.2.1-py3-none-any.whl Python 3 none any Details for karnameh_mcp-0.2.1-py3-none-any.whl

Total release size: 141.1 kB

Release files / karnameh_mcp-0.2.1.tar.gz

Download URL karnameh_mcp-0.2.1.tar.gz
Size 117.8 kB
Tags Source
SHA-256 checksum
How to use checksums
0d99cfa787b542e9ce7b380554ccf3fc1a2d1b6a001625203b18cd23bca777c7
BLAKE2b-256 checksum
How to use checksums
d6a8b1d3f2a5ae8a517ea1985a42189152ddf764bb57509f4b23491570421a45
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 17, 2026.

Transparency log

Release files / karnameh_mcp-0.2.1-py3-none-any.whl

Download URL karnameh_mcp-0.2.1-py3-none-any.whl
Size 23.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2edcffb9d7a10206761e9bfe38c9f4e396f79df20a9ed9da137fefed73e8ea81
BLAKE2b-256 checksum
How to use checksums
e47ad2340bee0d0100dac681b5d45cd1be978a4f47b9c1c186275c75e85c3c56
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 17, 2026.

Transparency log

Security for karnameh-mcp 0.2.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for karnameh_mcp-0.2.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 17, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page