Skip to main content
Glama
kleinanzeigen-mcp

kleinanzeigen-mcp

by Samxel

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

Kleinanzeigen.de, Germany's classifieds site. Prices are in EUR.

Which tool to use:

  • something to buy: search_kleinanzeigen. Scope it with a category from list_categories and narrow it with the category's attributes from get_category_filters; a place comes from search_locations.

  • one ad in full: get_ad_detail (full text, attributes, shipping), get_ad_images (the photos themselves) or get_seller_info (who sells it).

The category tree stops fairly high up: a finer cut like "Grafikkarten" is an attribute value of "PC-Zubehör & Software", not a category.

rows is at most 30; page on with the next_offset a result returns, has_more says whether anything is left. total is capped at 10000 by Kleinanzeigen.

Fields without a value are left out of results. Every hit and ad has a url: whenever you name an ad to the user, give its link.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}

Tools

Functions exposed to the LLM to take actions

NameDescription
search_kleinanzeigenA

Search Kleinanzeigen listings. Needs a query, a category or both.

A bare query matches the whole ad text and drags in accessories, bundles and spare parts, so scope to a category when you can, and use attributes over extra words.

Put the model in query and every spec in require. Sellers write "128GB", "128 GB" or leave it out of the title, so query="iPhone 13", require=["128gb"] finds what query="iPhone 13 128 GB" misses.

These filters run here, paging on until rows matches turn up or 250 ads were scanned (scanned):

  • title_only: every query word must be in the title.

  • require: every term must be in the title or description; a number with its unit matches however it is spelled.

  • exclude: drop titles carrying any of these words, e.g. ["pro", "max"]. A word also hits the tail of a compound ("kabel" in "Ladekabel"), never a prefix ("pro" spares "Prozessor"). Don't exclude ordinary nouns like "akku" or "display", real listings use them too.

A missing price_amount is normal: price_type then says "FREE" (zu verschenken) or "PLEASE_CONTACT" (VB); with a price, PLEASE_CONTACT means negotiable.

Args: query: Search words. category: Category id or name; includes its subcategories. attributes: Category filters, e.g. {"pc_zubehoer_software.art": "grafikkarten"}; a multi_select one also takes a list. Keys and values come from get_category_filters. location_id: From search_locations. zip_code: A German postcode, instead of location_id. distance_km: Radius around the location or postcode. min_price / max_price: Price bounds. ad_type: "OFFERED" (Ich biete) or "WANTED" (Ich suche). poster_type: "PRIVATE" or "COMMERCIAL". sort: Default "RECOMMENDED"; "DISTANCE_ASCENDING" needs a location. picture_required / buy_now_only / shippable: Only ads with photos / "Direkt kaufen" / shipping. include_top_ads: Also return paid "TOP" placements (is_top_ad). They are pinned above any sort order and mostly repair shops and buyers, so they are left out by default.

get_ad_detailA

One ad in full: the complete description, attributes by their label ("Zustand", "Versand", ...), category, location, shipping options, seller and image_count. To compare several, pass up to 10 ids instead; they come back as {count, ads, failed}.

Args: ad_id: The ad id from a search. ids: Several ad ids, instead of ad_id.

get_ad_imagesA

The ad's photos as images you can look at, up to max_images (at most 10). Use them whenever the answer depends on what the item looks like: condition, damage, completeness, or details only a picture shows, such as a label or a screen.

Args: ad_id: The ad id from a search. max_images: How many photos to fetch. Default 4. detail: "low" (300x400, enough for condition and completeness) or "high" (720x960, about six times the tokens) to read small print such as a label, serial number or screen.

get_seller_infoA

Who sells an ad: name, private or commercial, member since, ads run, followers, reply speed and reputation score. For a trust check the ad itself does not answer.

The profile half is guarded by IP-range anti-fraud and can fail from VPN or datacenter addresses; partial then says so and the reputation still comes back.

Args: seller_id: seller_id from a search hit or ad detail.

search_locationsA

Find location ids for the location_id filter of search_kleinanzeigen by name prefix: states, cities and districts. For a postcode, pass zip_code to the search instead.

Args: query: Start of the name, e.g. "berl". limit: At most 50. Default 10.

get_category_filtersA

The attribute filters of a category, for the attributes of search_kleinanzeigen: [{key, label, type, multi_select, values}], where values maps each value to its label ({"bmw": "BMW"}) and is left out for free-form attributes.

Args: category: Category id or name. key: Only this attribute (a key or a label, e.g. "autos.marke" or "Marke"), when the category has many with long value lists.

list_categoriesA

Find category ids for search_kleinanzeigen and get_category_filters. Returns {count, categories: [{id, path}]}.

Args: query: Part of the category path, e.g. "pc-zubehör". Omit to list everything up to limit. limit: At most 100. Default 40.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A4.3/5.0

Scored across 7 tools

Disambiguation5/5

Each tool targets a clearly distinct resource or action: listing search, ad detail, ad images, seller profile, location lookup, category filters, and category listing. The two helper lookups (search_locations, list_categories) are unambiguous because each feeds a different filter of search_kleinanzeigen. The split between get_ad_detail and get_ad_images is explicitly justified (text vs. visual inspection), so there is no real overlap.

Naming Consistency4/5

All names are snake_case and verb-first (search_, get_, list_), which makes the set predictable. The one deviation is search_kleinanzeigen, which names the site rather than the resource (unlike search_locations), so a more parallel name like search_ads would have fit the pattern better.

Tool Count5/5

Seven tools is a tight, well-scoped surface for a marketplace search server, and each tool maps to a step in a real workflow (find category/location -> filter attributes -> search -> inspect ad -> check seller). Nothing feels redundant or missing at the count level.

Completeness4/5

The read-side lifecycle is well covered: discovery (categories, locations, filters), search with rich filters, detail, images, and seller reputation. The only gaps are write/interaction operations such as contacting a seller or managing watchlists/postings, which agents can work around since the server appears intentionally read-only.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues