Purpose
ocds-mcp is a local MCP (Model Context Protocol) server for German public procurement data search. It connects AI assistants (Claude, GPT, etc.) to the Vergabe Dashboard API for semantic search, tender matching, and company profile management.
Main capabilities
- Semantic search: semantically matches natural language queries against German public procurement data.
- Tender matching: matches tender information against company profiles.
- Company profile management: manages company profiles, including name, description, CPV areas of interest, and location.
- Structured filtering: supports retrieval by filter values.
- Provides 11 available tools.
Usage
Obtain an API key: register at vergabe-dashboard.qune.de and create an API key. The API key requires a valid Pro plan (EUR 99 per month); the local server itself is free and open source, and the API gateway is used for key issuance.
Installation options:
- Via npx (simplest, automatically downloads the correct binary):
npx -y @qune-tech/vergabe-mcp --api-key sk_live_YOUR_KEY_HERE
- Download a prebuilt binary from GitHub Releases: on Windows, unzip the zip and place vergabe-mcp.exe in PATH.
- Build from source.
Configure the AI client:
- Claude Desktop: edit claude_desktop_config.json. When using the binary, the command is vergabe-mcp and the argument is --api-key sk_live_YOUR_KEY_HERE.
- Claude Code: add .mcp.json in the project root directory.
- Cursor: Settings → MCP Servers → Add; the argument is -y @qune-tech/vergabe-mcp --api-key sk_live_YOUR_KEY_HERE.
- LM Studio: Settings → MCP → Add Server; click + Add Server and select STDIO; the command is the full path to the binary (for example /usr/local/bin/vergabe-mcp), and the argument is --api-key sk_live_YOUR_KEY_HERE. In chat, select a model that supports tool calling and enable the vergabe server. LM Studio requires a model that supports tool calling (for example Qwen 2.5, Mistral, Llama 3.1+); smaller models may not reliably use all 11 tools, 7B+ is recommended.
Replace sk_live_YOUR_KEY_HERE with your actual API key. The key can also be passed via the VERGABE_API_KEY environment variable.
Data flow and privacy
- What remains on the local machine: company profile text, search query text, CPV areas of interest, location.
- What is visible to the API: embedding vectors, the OCIDs read, the filter values used, and the API key. These reveal business interests (industries of interest, contracting authorities, value ranges, tenders), but not the underlying text. Embedding vectors are derived, pseudonymized representations—this is minimization rather than elimination.
- Company profiles (name, description, CPV interests, location) are stored in a local SQLite database and do not leave the local network.
- Text embeddings are locally generated using multilingual ONNX model (multilingual-e5-small, 384 dimensions). Search queries use the query: prefix and are sent to POST /api/v1/search/vector; profile descriptions use the passage: prefix and are sent to POST /api/v1/match/vector.
- Only the embedding vector (384 floats), the retrieved OCID, filter values, and the API key are sent to the API.
First-run model download:
- Content: model.onnx + tokenizer.json, approximately 118 MB in total.
- Timing: on the embedder's first run; afterwards cached at ~/.cache/vergabe/models/multilingual-e5-small.
- Source: huggingface.co (a third party operated in the USA). This fetch does not send any user data, it is only a model download.
- For air-gapped/enterprise installations, place model.onnx and tokenizer.json in the aforementioned cache directory to skip the runtime download.
Use cases
Users who need to connect a local AI assistant to German public procurement data for semantic search, tender matching, and company profile management. A hosted alternative is also available: users who only want to search from an AI assistant can use the hosted MCP connector (OAuth login, no installation required).
Limitations
- The API key requires a valid Pro plan (EUR 99 per month).
- Requires approximately 120 MB of disk space for the ONNX model (downloaded automatically on first run).
- Requires an internet connection to access the API.
- LM Studio requires a model that supports tool calling; smaller models may not be able to reliably use all 11 tools.
License
MIT — see LICENSE.