Kleinanzeigen

io.github.IIxauII由 GitHub 帳號 IIxauII 發布v1.1.0更新於 Oct 31, 2026

A read-only, robots-clean MCP server over kleinanzeigen.de

概覽

AI 產生的概覽

針對德國分類廣告網站 kleinanzeigen.de 的唯讀 MCP 伺服器,讓助理搜尋刊登、查看廣告詳情並查詢商業賣家店鋪。

可以做什麼
  • 依查詢條件搜尋一頁分類廣告
  • 依廣告 id 查看單一廣告的完整內容
  • 查看商業賣家的檔案與刊登,或依名稱尋找店鋪代稱
  • 以內建資料集依名稱解析分類 id,依名稱或郵遞區號解析地點 id
適用情境
適合需要查詢 kleinanzeigen.de 上的二手或分類廣告、檢視某則特定廣告,或了解某個商業賣家販售內容時使用。它為唯讀,適合研究與瀏覽,不適合刊登或管理廣告。
執行需求
以 stdio 方式在本機執行,需要 Node.js 22 或更新版本。可透過 npx 安裝 kanzeigen-mcp 套件、使用 Claude Code 指令,或為 Claude Desktop 安裝未簽署的 .mcpb 套件。不需要帳號、API 金鑰或環境變數;選用環境變數 KLEINANZEIGEN_MCP_RATE_LIMIT_MS 可設定請求之間的最短間隔(預設 1500 毫秒)。需要能連線 kleinanzeigen.de 的網路。
安裝前請注意
伺服器會對 kleinanzeigen.de 發出即時請求,請留意速率限制,且翻頁結果可能變動:推廣廣告會重複出現,逐頁瀏覽時可能漏掉或重複看到某則廣告。分類與地點查詢一定回傳候選項,店鋪比對也可能只是檔案文字中的提及,使用前請確認 id。Claude Desktop 的套件未簽署且沒有更新機制,會停留在下載時的版本。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Kleinanzeigen,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

kleinanzeigen-mcp

A read-only, robots-clean MCP server over kleinanzeigen.de, the German classifieds site.


What it does

ToolWhat it answersRequests
search_listingsOne page of listings matching a search query.1
get_listingOne listing in full, by ad id.1
get_shopProfile and listings for one commercial seller.1
find_categoryCategory ids matching a name.0 — bundled dataset
find_locationLocation ids matching a name.0 — bundled dataset
find_shopShop slugs for commercial sellers matching a name.1

Install

Node 22 or newer is required. Four channels install the same build from the same release — they differ only in who does the fetching, and nothing propagates between them.

ChannelWho it is forLine
npm / npx — primaryanyone with an MCP clientnpx -y kanzeigen-mcp
Claude Codeone line, no JSONclaude mcp add kleinanzeigen -- npx -y kanzeigen-mcp
Claude Desktopno JSON editing at alldownload the .mcpb from a release and open it
Claude Code pluginthe server and the skill together/plugin marketplace add IIxauII/kleinanzeigen-mcp
run-from-clonedevelopmentDevelopment

npm / npx — any MCP client

The package is kanzeigen-mcp.

There is no install step and nothing to build. Point your client at npx and let it fetch the package on first run:

json
{  "mcpServers": {    "kleinanzeigen": {      "command": "npx",      "args": ["-y", "kanzeigen-mcp"]    }  }}

That block goes in your client's config file — claude_desktop_config.json for Claude Desktop, .mcp.json for Claude Code, the equivalent for anything else. Restart the client afterwards.

To verify by hand, without a client:

bash
npx -y kanzeigen-mcp

Claude Code

bash
claude mcp add kleinanzeigen -- npx -y kanzeigen-mcp

Any environment assignment goes before the --. Everything after the -- is the command Claude Code runs, so a variable placed there becomes an argument to npx rather than an environment variable:

bash
claude mcp add kleinanzeigen -e KLEINANZEIGEN_MCP_RATE_LIMIT_MS=3000 -- npx -y kanzeigen-mcp

Claude Desktop — the MCPB

Download kanzeigen-mcp-<version>.mcpb from the latest release and open it. Claude Desktop installs it and offers the one knob below as a form field, so nothing here needs a config file.

Two things are worth knowing before you pick it. The bundle ships unsigned, so the install dialog warns — self-signing fails its own verification, and a real certificate is a purchase nobody has made. And the format has no update mechanism: an installed .mcpb is as current as the day it was downloaded, and nothing will ever prompt you.

Claude Code plugin — the server and the skill

/plugin marketplace add IIxauII/kleinanzeigen-mcp/plugin install kanzeigen@kanzeigen

Configuration

KLEINANZEIGEN_MCP_RATE_LIMIT_MS — the minimum gap between requests, in milliseconds.

  • Unset means 1500 ms.
json
{  "mcpServers": {    "kleinanzeigen": {      "command": "npx",      "args": ["-y", "kanzeigen-mcp"],      "env": { "KLEINANZEIGEN_MCP_RATE_LIMIT_MS": "3000" }    }  }}

Development

Run from a clone. This is the development path rather than an install channel — it is the only one that yields a tree the drift check and the fixture-capture scripts can run in.

bash
git clone [email protected]:IIxauII/kleinanzeigen-mcp.gitcd kleinanzeigen-mcpnpm installnpm run build

npm run build produces a single-file ESM bundle at dist/index.js plus two sidecar datasets beside it. Point a client at it by absolute path:

json
{  "mcpServers": {    "kleinanzeigen": {      "command": "node",      "args": ["/absolute/path/to/kleinanzeigen-mcp/dist/index.js"]    }  }}
bash
npm test           # the whole suitenpm run typecheck  # tsc --noEmit, which is the real typechecknpm run build      # tsup, into dist/

Parser tests run against committed fixtures: hand-captured out of band by a dev-time script — never by the server — minimised to the DOM the parser actually reads, and redacted. The redaction rule is everything personal or identifying in the captured markup, including attributes the parser never reads: a pass aimed only at the fields the parser touches is how partner-ad ids and shop names once survived in tracking attributes. A test pins the rule.

Maintainer procedure — regenerating the two bundled datasets, running the drift check, and cutting a release — lives in docs/maintenance.md, because it addresses someone standing in a clone rather than someone who installed this.

Further reading: SPEC.md for the full contract, CONTEXT.md for the vocabulary every name in the codebase uses, and docs/adr/ for the decisions behind the posture.

來源:README.md,提交 18fe2b0

工具

6

search_listings

Search listings

One page of listings matching a search query. Promoted listings repeat on every page; high-volume queries drift between pages, so a listing can be missed or seen twice across a walk.

輸入參數pagesortradiusad_typebuy_nowkeywordslocationshippingmax_pricemin_pricecategory_idlocation_id另有 2 個

get_listing

Get listing

One listing in full, by ad id.

輸入參數ad_id必填

get_shop

Get shop page and inventory

Profile and listings for one COMMERCIAL seller. Private sellers have no shop page and cannot be reached by this server.

輸入參數pagekeywordsmax_pricemin_priceshop_slug必填category_idlocation_id

find_category

Find categories

Category ids matching a name. Always returns candidates — names and slugs collide, so only the numeric id identifies a category.

輸入參數query必填

find_location

Find locations

Location ids matching a name or postcode. Always returns candidates — a postcode can map to several locations.

輸入參數query必填

find_shop

Find shops

Shop slugs for COMMERCIAL sellers matching a name. Makes a live request, unlike the other resolvers. A match may be a mention in a shop's profile text rather than its name, so check before using one.

輸入參數name必填pagecategory_idlocation_id

版本歷史

3
  1. v1.1.0最新Oct 31, 2026
  2. v1.0.1Sep 24, 2026
  3. v1.0.0Sep 16, 2026

評分

已滿足適用檢查項的 90%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分
  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分