
Australian Postcodes MCP Server
Enables AI assistants to search, validate, and retrieve Australian postcode and suburb data with intelligent fuzzy matching for handling misspellings and voice queries. Provides comprehensive location services including geographic search, Local Government Area queries, and suburb-postcode validation for customer service interactions.
README
Australian Postcodes MCP Server
A high-performance MCP (Model Context Protocol) server providing Australian postcode and suburb data with intelligent fuzzy matching, designed specifically for AI assistants handling customer service interactions.
Features
🔍 Core Search Capabilities
- Postcode to Suburbs: Find all suburbs for a given postcode
- Suburb to Postcodes: Find postcodes for suburbs (with fuzzy matching)
- Smart Validation: Verify suburb-postcode combinations
- LGA Queries: List all suburbs in a Local Government Area (city/council)
🎯 AI-Optimized Features
- Fuzzy Matching: Handles typos and misspellings with confidence scoring
- Phonetic Search: Matches spoken names that may be misheard
- Autocomplete: Suggests completions for partial suburb names
- Smart Suggestions: Provides alternatives when exact matches aren't found
- Geographic Search: Find nearby suburbs within a radius
📊 Data Coverage
- ~17,000 Australian postcodes and suburbs
- Local Government Areas (LGAs)
- Statistical Areas (SA3/SA4)
- Geographic coordinates (latitude/longitude)
- Electoral divisions
- State and region information
Quick Start
Installation
# Clone the repository
git clone https://github.com/yourusername/australian-postcodes-mcp.git
cd australian-postcodes-mcp
# Install dependencies
pip install -r requirements.txt
# Import postcode data
python src/utils/data_loader.py
# Test locally
fastmcp dev src/server.py
Usage with Claude Desktop
Add to your Claude Desktop configuration:
{
"mcpServers": {
"australian-postcodes": {
"command": "fastmcp",
"args": ["run", "/path/to/australian-postcodes-mcp/src/server.py"]
}
}
}
Available Tools
Search Tools
search_by_postcode
- Find suburbs for a postcodesearch_by_suburb
- Find postcodes for a suburbvalidate_suburb_postcode
- Verify a combination is validget_location_details
- Smart search accepting either postcode or suburb
Fuzzy Matching Tools
find_similar_suburbs
- Find closest matches for misspelled suburbsautocomplete_suburb
- Get completions for partial namesvalidate_spelling
- Suggest spelling correctionsphonetic_search
- Handle phone-misheard names
Location Tools
list_suburbs_in_lga
- All suburbs in a Local Government Areafind_lga_for_suburb
- Get the LGA/city for a suburblist_suburbs_in_radius
- Find nearby postcodes within radiusget_neighboring_suburbs
- Find adjacent areas
Analytics Tools
get_state_statistics
- Postcode and suburb counts by statelist_all_lgas
- Available Local Government Areassearch_by_region
- Query by statistical area
Examples
Basic Search
# Find suburbs for postcode 2300
result = await search_by_postcode("2300")
# Returns: Newcastle, Newcastle West, etc.
# Find postcode for suburb
result = await search_by_suburb("Newcastle", state="NSW")
# Returns: 2300
Fuzzy Matching
# Handle misspellings
result = await find_similar_suburbs("Newcaslte", state="NSW")
# Returns: Newcastle (confidence: 0.92), New Lambton (confidence: 0.75)
# Phonetic search
result = await phonetic_search("new castle")
# Returns: Newcastle, Newcastle West
LGA Queries
# List suburbs in Newcastle LGA
result = await list_suburbs_in_lga("Newcastle", state="NSW")
# Returns: All suburbs in Newcastle city council area
Deployment
FastMCP Cloud (Recommended)
- Push to GitHub
- Connect repository at fastmcp.cloud
- Configure environment variables
- Deploy with one click
Local Development
# Run development server
fastmcp dev src/server.py
# Run production server
python src/server.py
Data Source
Data sourced from the community-maintained Australian Postcodes repository.
Performance
- SQLite with optimized indexes for fast queries
- Sub-100ms response time for most queries
- Efficient fuzzy matching using rapidfuzz library
- Cached phonetic encodings for voice queries
Contributing
Contributions welcome! Please see CONTRIBUTING.md for guidelines.
License
MIT License - See LICENSE for details.
Support
For issues or questions, please open an issue on GitHub or contact the maintainers.
Built with FastMCP for the Model Context Protocol
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.