echr_search
Pack: hudoc · Endpoint: https://gateway.pipeworx.io/hudoc/mcp
Search European Court of Human Rights (ECHR / Strasbourg) case law by free text, Convention Article, respondent state and/or date. Returns case name, application number(s), Article(s) engaged, the conclusion (violation/no violation), importance level and the itemid to read the full judgment with echr_judgment. Use for “what has Strasbourg ruled on Article 8 against France”, “recent Article 10 freedom-of-expression judgments”, etc. Covers judgments by default; pass collection to search decisions, advisory opinions, resolutions, communicated cases or reports instead.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
query | string | no | Free-text words to match anywhere in the case (case name, conclusion text, keywords), e.g. “surveillance”, “freedom of expression”. Optional if article/respondent narrow enough on their own. |
article | string | no | Convention Article number, e.g. “8” (private/family life), “10” (freedom of expression), “6” (fair trial). Matches the Article and its sub-paragraphs. |
respondent | string | no | Respondent state — ISO3 code (e.g. “FRA”, “GBR”) or common name (e.g. “France”, “United Kingdom”). One of the 46 Council of Europe states, or Russia for pre-2022 cases. |
collection | string | no | Document type to search (default “judgments”). “decisions” = admissibility decisions; “communicated_cases” = pending cases the Court has notified the government of, no ruling yet. |
importance | number | no | HUDOC importance level: 1 = highest (leading cases), 4 = lowest. Omit for all. |
date_from | string | no | ISO date (YYYY-MM-DD). Only documents on or after this date. |
date_to | string | no | ISO date (YYYY-MM-DD). Only documents on or before this date. |
limit | number | no | Max results, default 10, max 25. |
Example call
Arguments
{
"article": "8",
"respondent": "GBR",
"date_from": "2024-01-01",
"date_to": "2026-12-31",
"limit": 5
}
curl
curl -X POST https://gateway.pipeworx.io/hudoc/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"echr_search","arguments":{"article":"8","respondent":"GBR","date_from":"2024-01-01","date_to":"2026-12-31","limit":5}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('echr_search', {
"article": "8",
"respondent": "GBR",
"date_from": "2024-01-01",
"date_to": "2026-12-31",
"limit": 5
});
More examples
{
"query": "surveillance",
"article": "8",
"respondent": "FRA",
"date_from": "2023-01-01"
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"hudoc": {
"url": "https://gateway.pipeworx.io/hudoc/mcp"
}
}
}
See Getting Started for client-specific install steps.