# EU Public Tenders & Grants Monitor (TED + MCP) (`mr.wolf/eu-tenders-mcp-server`) Actor

Extract, filter & normalize active EU public procurement tenders from TED Europa by
country, CPV code, budget & deadline. Ready for batch runs, n8n/Make, and Standby MCP Server for AI agents.

- **URL**: https://apify.com/mr.wolf/eu-tenders-mcp-server.md
- **Developed by:** [Ciccio Cassino](https://apify.com/mr.wolf) (community)
- **Features:** Limited permissions, Single-tenant, Server interface
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $10.00 / 1,000 tender extracteds

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## EU Public Tenders & Grants Monitor (TED Europa API + MCP Server)

Extract, filter, and normalize **active European public procurement notices**, **EU public tenders**, and **European grants** directly from **TED Europa** (Tenders Electronic Daily) — available both as a fast **HTTP-only Apify Actor** and as a **Standby MCP Server** for AI agents.

Designed for **Pay-Per-Event (PPE)** cost efficiency with **zero headless browsers** (runs smoothly on **256 MB RAM**).

***

### Why Use This TED Europa Scraper & MCP Server?

- **HTTP-Only Speed & Low Cost:** Queries TED Europa API v3 directly with automatic retries (`429`/`5xx`) and pagination — no Playwright or Puppeteer overhead.
- **Lot-Level Budget Aggregation:** Automatically falls back to summing `estimated-value-lot` and reading `estimated-value-cur-lot` when global `estimated-value-glo` is omitted, recovering budgets that naive scrapers miss.
- **Clean Canonical Normalization:**
  - Prefers English titles/buyer names when available, falling back cleanly to local EU languages.
  - Normalizes ISO 3166-1 alpha-2 and alpha-3 country codes (`IT` / `ITA`, `DE` / `DEU`, `FR` / `FRA`, etc.).
  - Deduplicates CPV codes and `tenderId`s, and selects the latest valid submission deadline across all lots.
- **Active-First Sorting & Period Windows:** Automatically sorts newest-first (`publication-date DESC`) and filters by both publication window (`publishedFrom` / `publishedTo`) and submission deadline window (`minDeadline` / `maxDeadline`).
- **Dual Mode (Batch + Standby MCP):** Export structured JSON/CSV datasets for **n8n** and **Make**, or connect **Claude Desktop** and **Cursor** directly to the live Streamable HTTP MCP endpoint.

***

### Popular Use Cases

- **B2G Lead Generation:** Daily automated alerts for new IT, construction, healthcare, or energy tenders above a target budget.
- **Consulting & Grant Agencies:** Track regional and national EU procurement opportunities across 30+ European countries.
- **AI Procurement Assistants:** Let Claude or Cursor search live EU tenders and inspect notice details on demand via MCP.

***

### Input Examples (Copy-Paste)

#### 1. Active Italian IT & Software Tenders

```json
{
  "countries": ["IT"],
  "cpvCodes": ["72000000"],
  "minBudget": 50000,
  "maxItems": 25
}
```

#### 2. Recent EU Tenders by Publication & Deadline Window

```json
{
  "countries": ["IT", "DE", "FR"],
  "publishedFrom": "2026-11-01",
  "minDeadline": "2026-12-01",
  "maxItems": 50
}
```

#### 3. DACH & Benelux Construction / Engineering Tenders

```json
{
  "countries": ["DE", "AT", "CH", "NL", "BE"],
  "cpvCodes": ["45", "71"],
  "minBudget": 250000,
  "maxItems": 50
}
```

***

### Common CPV Codes Reference

| CPV Prefix | Sector |
| --- | --- |
| `72000000` | IT services: consulting, software development, Internet & support |
| `45000000` | Construction work |
| `71000000` | Architectural, construction, engineering & inspection services |
| `33000000` | Medical equipments, pharmaceuticals & personal care products |
| `79000000` | Business services: law, marketing, consulting, recruitment, printing |
| `09000000` | Petroleum products, fuel, electricity & other sources of energy |

***

### Input Parameters

| Field | Type | Description | Default |
| --- | --- | --- | --- |
| `countries` | `string[]` | ISO 3166-1 alpha-2 or alpha-3 country codes (e.g. `["IT", "DE", "FRA"]`). | `[]` |
| `cpvCodes` | `string[]` | CPV codes or prefixes (2–8 digits, e.g. `["72000000"]`). | `[]` |
| `minBudget` | `integer` | Minimum estimated contract value in EUR. | — |
| `maxBudget` | `integer` | Maximum estimated contract value in EUR. | — |
| `publishedFrom` | `string` | Minimum publication date (`YYYY-MM-DD`). | — |
| `publishedTo` | `string` | Maximum publication date (`YYYY-MM-DD`). | — |
| `minDeadline` | `string` | Minimum submission deadline (`YYYY-MM-DD`). | — |
| `maxDeadline` | `string` | Maximum submission deadline (`YYYY-MM-DD`). | — |
| `maxItems` | `integer` | Maximum number of normalized tenders to return (`1`–`1000`). | `50` |

***

### Output Example (`NormalizedTender`)

```json
{
  "tenderId": "812690-2026",
  "title": "Italy – Enteral feeds – APPALTO FORNITURA DI DIETETICI E NUTRIENTI...",
  "buyerName": "Azienda Sanitaria Territoriale di Ancona",
  "country": "IT",
  "cpvCodes": ["33692300"],
  "estimatedValue": 9149003.12,
  "currency": "EUR",
  "publicationDate": "2026-11-23",
  "submissionDeadline": "2026-12-28",
  "documentUrl": "https://ted.europa.eu/en/notice/-/detail/812690-2026"
}
```

***

### Standby MCP Server for AI Agents

Connect **Cursor**, **Claude Desktop**, or any Streamable HTTP MCP client to:

```text
https://mr-wolf-1--eu-tenders-mcp-server.apify.actor/mcp
```

#### Cursor (`.cursor/mcp.json`)

```json
{
  "mcpServers": {
    "eu-tenders": {
      "url": "https://mr-wolf-1--eu-tenders-mcp-server.apify.actor/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_APIFY_TOKEN"
      }
    }
  }
}
```

#### Claude Desktop (`claude_desktop_config.json`)

```json
{
  "mcpServers": {
    "eu-tenders": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://mr-wolf-1--eu-tenders-mcp-server.apify.actor/mcp",
        "--header",
        "Authorization:Bearer YOUR_APIFY_TOKEN"
      ]
    }
  }
}
```

#### Exposed MCP Tools

- `search_eu_tenders(cpv, country, minBudget, publishedFrom, publishedTo, minDeadline, maxDeadline, maxItems)`
- `get_tender_details(tenderId)`

See [`docs/integrations/mcp-clients.md`](./docs/integrations/mcp-clients.md) for full details.

***

### Automation Integrations (n8n & Make)

- **n8n workflow template:** [`docs/integrations/n8n-workflow.json`](./docs/integrations/n8n-workflow.json)
- **Make.com scenario blueprint:** [`docs/integrations/make-scenario.json`](./docs/integrations/make-scenario.json)

***

### Pay-Per-Event (PPE) Pricing

- `apify-actor-start`: Standard Actor startup event (covers initial compute).
- `tender-extracted`: Charged once per normalized tender pushed to the dataset in batch mode.
- `mcp-query`: Charged once per MCP tool invocation (`search_eu_tenders` or `get_tender_details`) in Standby mode.

***

### Frequently Asked Questions (FAQ)

**How is `estimatedValue` calculated when a tender has multiple lots?**
If TED provides a global `estimated-value-glo`, it is used directly. Otherwise, the Actor automatically sums all lot-level `estimated-value-lot` values and resolves the currency from `estimated-value-cur-lot`.

**Does this Actor require proxies or a headless browser?**
No. It queries TED Europa's official v3 HTTP API directly, keeping memory usage around 256 MB and execution times to a few seconds.

**Can I search historical (closed) tenders as well as active ones?**
Yes. By default, searches target `ACTIVE` notices sorted newest-first. When you pass `publishedFrom` or `publishedTo`, the Actor automatically queries `ALL` notices within your publication window, and `get_tender_details` always searches `ALL` notices by `tenderId`.

**How do I filter by broad sector instead of an exact 8-digit CPV code?**
Pass a 2-to-4 digit CPV prefix such as `["72"]` (IT services) or `["45"]` (construction). The filter matches any tender whose CPV codes start with that prefix.

***

### Local Development

```bash
npm run typecheck && npm run lint && npm test && npm run build
apify run --purge
```

***

### Related Actors by mrWolf

- **[SAM.gov US Federal Contracts & Grants + MCP](https://apify.com/mr.wolf/us-sam-tenders-mcp-server)** — Keyless US federal contract opportunities, NAICS codes, and contracting officer contacts.
- **[Tech & Startup Jobs Scraper (Greenhouse, Lever, Ashby, SmartRecruiters + MCP)](https://apify.com/mr.wolf/ats-jobs-mcp-server)** — Extract live tech jobs, salaries, and B2B hiring signals.
- **[B2B Domain Intelligence & Email Verifier + MCP](https://apify.com/mr.wolf/domain-intel-mcp-server)** — Detect tech stack, DNS/MX/SPF/DMARC readiness, and company contacts.

# Actor input Schema

## `countries` (type: `array`):

Filter tenders by country codes (e.g. IT, DE, FR).

## `cpvCodes` (type: `array`):

Filter tenders by Common Procurement Vocabulary (CPV) codes (e.g. 72000000).

## `minBudget` (type: `integer`):

Minimum estimated contract value in EUR.

## `maxBudget` (type: `integer`):

Maximum estimated contract value in EUR.

## `publishedFrom` (type: `string`):

Only include tenders published on or after this ISO date (YYYY-MM-DD).

## `publishedTo` (type: `string`):

Only include tenders published on or before this ISO date (YYYY-MM-DD).

## `minDeadline` (type: `string`):

Only include tenders with submission deadline on or after this ISO date (YYYY-MM-DD).

## `maxDeadline` (type: `string`):

Only include tenders with submission deadline on or before this ISO date (YYYY-MM-DD).

## `maxItems` (type: `integer`):

Maximum number of normalized tenders to return.

## Actor input object example

```json
{
  "countries": [
    "IT",
    "DE",
    "FR"
  ],
  "cpvCodes": [],
  "maxItems": 20
}
```

# Actor output Schema

## `overview` (type: `string`):

Table view of extracted and normalized EU tenders.

## `dataset` (type: `string`):

Complete JSON dataset of normalized EU public tenders.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "countries": [
        "IT",
        "DE",
        "FR"
    ],
    "maxItems": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("mr.wolf/eu-tenders-mcp-server").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "countries": [
        "IT",
        "DE",
        "FR",
    ],
    "maxItems": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("mr.wolf/eu-tenders-mcp-server").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "countries": [
    "IT",
    "DE",
    "FR"
  ],
  "maxItems": 20
}' |
apify call mr.wolf/eu-tenders-mcp-server --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,mr.wolf/eu-tenders-mcp-server"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/9zmNfCdRuQ1erkqjb/builds/VJhBGs9J65n2iFJyq/openapi.json
