Cover image
Try Now
2025-04-03

3 years

Works with Finder

1

Github Watches

1

Github Forks

0

Github Stars

Postcodes UK MCP Server

Overview

Postcodes UK MCP Server provides an efficient way to interact with the UK Postcodes API (postcodes.io). It offers validation, lookup, and geographical search capabilities for UK postcodes.

Features

  • Validate UK postcodes
  • Retrieve postcode details
  • Bulk postcode lookup
  • Find nearest postcodes by coordinates

Dependencies

  • Python 3.8+
  • mcp-cli & httpx

Installation Steps

1. Install uv with official standalone installer:

For macOS and Linux

$ curl -LsSf https://astral.sh/uv/install.sh | sh

For Windows

powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex

2. Clone the repo

Then add MCP to your project dependencies:

uv add "mcp[cli]"

3. Make sure Claude Desktop App installed from Claude

4. Now install the Postcodes UK MCP Server to the Claude Desktop

mcp install postcodes.py

You will see the output like this after successful installation

INFO     Added server 'postcodes' to Claude config                                                      claude.py:129
INFO     Successfully installed postcodes in Claude app                                                    cli.py:467

Usage

The server provides multiple methods to interact with UK postcode data:

  • Lookup details for a single postcode
  • Perform bulk postcode lookups
  • Find nearest postcodes by geographic coordinates

Demo on Claude Desktop:

API Endpoints

Endpoint Description
/lookup/{postcode} Retrieve details for a single postcode
/bulk-lookup Look up multiple postcodes at once
/nearest?lat={lat}&lon={lon} Find nearest postcodes based on coordinates

📌 Contributing

Contributions are welcome! Feel free to submit issues or pull requests.

📄 License

This project is licensed under the MIT License.

Support

If you find this project useful, please ⭐ star the repository! and Find me in LinkedIn


Developed with ❤️ for UK postcode services.

相关推荐

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • https://maiplestudio.com
  • Find Exhibitors, Speakers and more

  • Yusuf Emre Yeşilyurt
  • I find academic articles and books for research and literature reviews.

  • Carlos Ferrin
  • Encuentra películas y series en plataformas de streaming.

  • https://zenepic.net
  • Embark on a thrilling diplomatic quest across a galaxy on the brink of war. Navigate complex politics and alien cultures to forge peace and avert catastrophe in this immersive interstellar adventure.

  • lumpenspace
  • Take an adjectivised noun, and create images making it progressively more adjective!

  • https://reddgr.com
  • Delivers concise Python code and interprets non-English comments

  • apappascs
  • Descubra la colección más completa y actualizada de servidores MCP en el mercado. Este repositorio sirve como un centro centralizado, que ofrece un extenso catálogo de servidores MCP de código abierto y propietarios, completos con características, enlaces de documentación y colaboradores.

  • ShrimpingIt
  • Manipulación basada en Micrypthon I2C del expansor GPIO de la serie MCP, derivada de AdaFruit_MCP230xx

  • pontusab
  • La comunidad de cursor y windsurf, encontrar reglas y MCP

  • av
  • Ejecute sin esfuerzo LLM Backends, API, frontends y servicios con un solo comando.

  • jae-jae
  • Servidor MCP para obtener contenido de la página web con el navegador sin cabeza de dramaturgo.

  • ravitemer
  • Un poderoso complemento Neovim para administrar servidores MCP (protocolo de contexto del modelo)

  • patruff
  • Puente entre los servidores Ollama y MCP, lo que permite a LLM locales utilizar herramientas de protocolo de contexto del modelo

  • 1Panel-dev
  • 🔥 1Panel proporciona una interfaz web intuitiva y un servidor MCP para administrar sitios web, archivos, contenedores, bases de datos y LLM en un servidor de Linux.

    Reviews

    5 (1)
    Avatar
    user_fblqpYTD
    2025-04-16

    As a dedicated user of the postcodes-uk-mcp-server by selva221724, I am thoroughly impressed with its performance and reliability. This server effectively handles UK postcode data, making it an essential tool for developers working on location-based applications. The setup is straightforward, and the comprehensive documentation provided on GitHub ensures a seamless experience. Highly recommended for anyone needing accurate and efficient postcode management!