# kleinanzeigen-mcp [Health: Active]

**Category:** 🔎 Search & Data Extraction  
**Repository:** https://github.com/taneron/willmehr  
**GitHub Stars:** 3  
**npm Downloads (last month):** 189  
**Views:** 1  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/kleinanzeigen-mcp

## Description
Search Kleinanzeigen.de, Germany's largest classifieds site, for second-hand listings

## Tools
Capabilities this server exposes over MCP:

- **kleinanzeigen_search** — Search by keyword, location, radius and price; auto-paginates
- **kleinanzeigen_search_by_url** — Search from a pasted Kleinanzeigen URL, keeping filters the structured search can't express
- **kleinanzeigen_get_listing** — Full detail for one ad: description, images, seller, attributes
- **kleinanzeigen_get_listings_batch** — Full detail for several ids at once — the normal follow-up to a search
- **kleinanzeigen_parse_search_url** — Explain which filters a URL encodes. Makes no network request

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

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

## Documentation

## What kleinanzeigen-mcp MCP server does

The kleinanzeigen-mcp MCP server exposes Kleinanzeigen.de search and listing retrieval through the Model Context Protocol. It is intended for agents that need to find second-hand goods on the German classifieds site and inspect the resulting ads programmatically.

A structured search accepts a keyword, location, radius, and price constraints. Results are automatically paginated. When Kleinanzeigen search options cannot be represented by those fields, a pasted Kleinanzeigen search URL preserves the site’s encoded filters instead.

The server also handles the common next step after searching: retrieving complete details for one or several listing IDs. Returned listing information includes the description, images, seller information, and listing attributes.

## How it works

The package is implemented in TypeScript and communicates with an MCP client through stdio when run locally. The repository also supports Streamable HTTP for self-hosted deployments. The Kleinanzeigen server is packaged separately from the repository’s willhaben.at server and uses `dist/kleinanzeigen/index.js` when running from a source checkout.

The normal agent workflow is to search, select relevant listing IDs, and call the batch detail operation. A URL-based workflow is useful when the original Kleinanzeigen URL contains filters that are not available in the structured search tool. The URL parser can explain the filters encoded in a search URL without making a network request.

The default runtime mode is `full`. A `public` mode is also available for deployments shared by multiple users; it omits account tools, which are relevant to the separate willhaben server, and applies slower Kleinanzeigen request pacing with fewer pages and smaller batches. The provided Kleinanzeigen tools themselves do not require an account or session cookie.

## Setup and configuration

The quickest local installation uses the published npm package through an MCP client:

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

From a repository clone, install dependencies and build the project:

```bash
git clone https://github.com/taneron/willmehr.git
cd willmehr
npm install
npm run build
```

Register the Kleinanzeigen entry point from that checkout with:

```bash
claude mcp add kleinanzeigen -- node "$PWD/dist/kleinanzeigen/index.js"
```

No Kleinanzeigen credential or required environment variable is described. For a shared deployment, start the Kleinanzeigen entry point in `public` mode using `--public` or `WILLMEHR_MODE=public`. The server can otherwise use the default `full` mode.

## Tools and capabilities

- `kleinanzeigen_search`: searches by keyword, location, radius, and price, with automatic pagination.
- `kleinanzeigen_search_by_url`: searches from a pasted Kleinanzeigen URL and retains filters not exposed by structured parameters.
- `kleinanzeigen_get_listing`: retrieves full information for one advertisement, including description, images, seller, and attributes.
- `kleinanzeigen_get_listings_batch`: retrieves full details for multiple listing IDs in one follow-up operation.
- `kleinanzeigen_parse_search_url`: identifies the filters encoded in a Kleinanzeigen search URL without contacting the site.

The kleinanzeigen-mcp MCP server fits workflows such as finding products near a city, applying a price range, checking several candidate ads, or explaining an existing search URL before running it.

## Limitations and notes

This server is focused on anonymous marketplace search and listing details. Request pacing, page limits, and batch limits vary between `full` and `public` modes, so shared deployments may return fewer pages or process smaller batches per operation.

The repository is a multi-server project, but the Kleinanzeigen package is registered separately from the willhaben package. Configure the Kleinanzeigen entry point or npm package when only German listings are needed.

_Full upstream README: https://allmcps.com/mcp/kleinanzeigen-mcp/readme_

