Ideal Postcodes MCP by usefulapi
Find addresses by postcode or partial entry; validate emails and phones in Ideal Postcodes.
Should I use this
Quality & Safety
Findings (1)
- LOWin idealpostcodes_validate_phone_number
Based on automated analysis of tool definitions and protocol compliance.
Context Cost
This is the approximate number of tokens consumed each time the server's tools are loaded into a model's context. Higher counts reduce the attention available for other tasks.
Install
One-Click Install
Add this to your `claude_desktop_config.json` file:
{
"mcpServers": {
"ideal-postcodes": {
"url": "https://ideal-postcodes.usefulapi.io/mcp"
}
}
}Remote endpoints
https://ideal-postcodes.usefulapi.io/mcpstreamable-httpWhat it can do
Tool inventory
Tools (7)
🟢idealpostcodes_lookup_postcode(postcode, page)
Return the addresses at a postcode (UK, Republic of Ireland, Netherlands, Singapore), one page at a time: page 0 holds almost every postcode, and the reply gives total. Each page costs one lookup, and an empty result is free. For a form that picks an address, prefer the find and resolve tools. Ideal Postcodes API: GET /postcodes/{postcode}.
Input Schema
{
"type": "object",
"properties": {
"postcode": {
"type": "string",
"minLength": 2,
"maxLength": 12,
"description": "A UK, Republic of Ireland, Netherlands or Singapore postcode, e.g. SW1A 1AA."
},
"page": {
"description": "Page of results, starting at 0 (default 0).",
"type": "integer",
"minimum": 0,
"maximum": 100
}
},
"required": [
"postcode"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢idealpostcodes_find_address(query, postcode, limit)
Return ranked address suggestions for a partial address (typeahead). Each suggestion has an id for idealpostcodes_resolve_address. This step is free. Ideal Postcodes API: GET /autocomplete/addresses.
Input Schema
{
"type": "object",
"properties": {
"query": {
"type": "string",
"minLength": 1,
"maxLength": 150,
"description": "The partial address typed by the user, e.g. '10 Downing'."
},
"postcode": {
"description": "Only addresses with this postcode.",
"type": "string",
"maxLength": 12
},
"limit": {
"description": "Maximum suggestions (default 10, max 100).",
"type": "integer",
"minimum": 1,
"maximum": 100
}
},
"required": [
"query"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢idealpostcodes_resolve_address(address_id)
Return the full address for a suggestion id from idealpostcodes_find_address. Costs one lookup. Ideal Postcodes API: GET /autocomplete/addresses/{address}/gbr.
Input Schema
{
"type": "object",
"properties": {
"address_id": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"description": "The id of a suggestion from idealpostcodes_find_address."
}
},
"required": [
"address_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢idealpostcodes_get_udprn(udprn)
Return the address for a UDPRN (8-digit Royal Mail delivery point id). Use it to refresh a stored address or to test whether it still exists (404 = not on the dataset). Costs one lookup. Ideal Postcodes API: GET /udprn/{udprn}.
Input Schema
{
"type": "object",
"properties": {
"udprn": {
"type": "string",
"pattern": "^\\d{8}$",
"description": "The 8-digit UDPRN, e.g. 25962203."
}
},
"required": [
"udprn"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢idealpostcodes_key_status
Show whether this account's API key can be used now (available), and the search contexts the key is licensed for. Free, and it shows no account data beyond the key status. Ideal Postcodes API: GET /keys/{key}.
Input Schema
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢idealpostcodes_validate_email(email)
Check whether an email address is deliverable (domain resolves and has mail records). Costs one lookup when the domain is checked; 'unknown' results are free. Ideal Postcodes API: GET /emails.
Input Schema
{
"type": "object",
"properties": {
"email": {
"type": "string",
"minLength": 3,
"maxLength": 320,
"description": "The email address to check, e.g. [email protected]."
}
},
"required": [
"email"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢idealpostcodes_validate_phone_number(phone_number)
Check a phone number and return its country and its national and international formats. The number needs a country code. Every query costs one lookup, also for an invalid number. Ideal Postcodes API: GET /phone_numbers.
Input Schema
{
"type": "object",
"properties": {
"phone_number": {
"type": "string",
"minLength": 4,
"maxLength": 30,
"description": "The number with its country code, e.g. +442079460000."
}
},
"required": [
"phone_number"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}Community
Evidence