# public-tenders-es-eu [Health: Active]

**Category:** 🔎 Search & Data Extraction  
**Repository:** https://github.com/nexus-mcp-infra/public-tenders-es-eu  
**GitHub Stars:** 1  
**Views:** 3  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/public-tenders-es-eu

## Description
Normalized search over public-sector tenders in TED (EU official procurement notices) -- Spain + EU

## Claude Desktop Quick Installation
Remote MCP endpoint (confidence: high). Install path detected from listing signals. Add as a URL/SSE server in your client:

```json
"mcpServers": {
  "public-tenders-es-eu": {
    "url": "https://api.ted.europa.eu/v3/notices/search"
  }
}
```

## Documentation

## What public-tenders-es-eu does

The public-tenders-es-eu MCP server provides normalized search over procurement notices published in Tenders Electronic Daily (TED), the EU Publications Office’s official public-procurement platform. Coverage includes notices associated with Spain and other EU countries, provided they meet the EU publication threshold.

Its primary MCP operation is `search_public_tenders`. The same search is also available through `POST /search-public-tenders`, while supporting endpoints expose health status, an agent card, and the OpenAPI description. Each result can include a publication number, multilingual title, buyer name, buyer country, publication date, CPV classifications, notice type, total value when supplied by TED, and links to language-specific HTML, PDF, or XML details.

## How it works

The service translates the request into a query for TED’s `v3/notices/search` API. Country filters use ISO 3166-1 alpha-3 codes such as `ESP`; keyword searches use TED full-text matching; and the date range is expressed through a publication-date condition. Results are ordered by publication date in descending order.

The public-tenders-es-eu MCP server accepts `country`, `keyword`, `cpv_prefix`, `days_back`, and `limit`. TED handles country, keyword, and date conditions upstream. CPV-prefix matching is performed by the service after retrieval because TED does not provide the required server-side prefix operator. When a CPV prefix is supplied, the service requests additional records, up to a capped amount, before filtering them locally.

Identical searches are cached for one hour using the query parameters and an hourly bucket. A response reports whether it came from that cache with `cache_hit`. This reduces repeated requests to TED, but cached results may be approximately one hour old.

## Setup and configuration

The deployment target is Google Cloud Run. The repository’s deployment process uses `scripts/deploy_cloud_run.sh` with the asset name and its manual-asset directory. After the initial deployment, the service’s actual Cloud Run URL may need to be assigned to `PUBLIC_DOMAIN`; requests can return HTTP 421 until the public domain configuration is correct.

The MCP endpoint is `/mcp`. The HTTP service also documents `/health`, `/.well-known/agent-card.json`, `/openapi.json`, and `/.well-known/402index-verify.txt`.

## Limitations and notes

The public-tenders-es-eu MCP server does not cover Spanish tenders below TED’s EU publication threshold. It therefore should not be treated as a complete index of Spain’s national procurement market.

CPV filtering can produce fewer matches than exist in TED when the requested prefix is narrow and the initial over-fetch does not contain all possible matches. The one-hour cache is not invalidated when TED publishes new notices. There is no per-caller rate limit, and stale cache rows are retained rather than deleted during the stated probation period.

The service uses a short-lived response cache rather than maintaining its own tender index. TED applies the authoritative search and publication-date filtering, and individual results identify their source as TED. Notice fields are not uniform: for example, `total-value` may be absent for some notice types, including qualification-system notices.

_Full upstream README: https://allmcps.com/mcp/public-tenders-es-eu/readme_

