MaxMindDB MCP Server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@MaxMindDB MCP Server identify the country and ASN for 8.8.8.8"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
MaxMindDB MCP Server
Look up IP locations and network ownership in GeoIP2, GeoLite2, and custom MMDB databases from your AI assistant. Search networks, compare databases, and download new databases through MCP.
This is an unofficial project and is not endorsed by MaxMind Inc. For official products and support, visit maxmind.com.
Try asking:
"Using MaxMindDB, identify the country and autonomous system for 8.8.8.8."
"Find the networks belonging to AS13335 within 1.0.0.0/8 in my ASN database."
"Which databases are available, and when were they built?"
Answers come from your databases. IP geolocation is an estimate, not a device's precise location. ASN data describes network ownership, not the identity of a person using an address.
What you need
Provide either existing .mmdb files or a MaxMind account ID and license key with access to the editions you want.
Databases and credentials are not bundled.
The server runs on your computer and requires a client that supports local MCP servers.
Related MCP server: geolocation-mcp
Installation
Claude Desktop
Install and configure the server through Claude Desktop. No terminal, Go installation, or config file is required.
Download the latest MCPB. The single file includes native builds for all supported platforms.
Open Settings → Extensions → Advanced settings → Install Extension in Claude Desktop and select the file.
Choose how to provide databases in the extension settings:
Download databases: Enter your MaxMind account ID and license key. The default editions are
GeoLite2-CityandGeoLite2-ASN.Use existing files: Turn off Download and update MaxMind databases and select the folder containing your
.mmdbfiles.
Enable the extension and ask: "Using MaxMindDB, list my databases and look up 8.8.8.8."
The first download runs in the background. Ask Claude to check database status if lookups are not ready yet. Enter license keys in extension settings, not in chat.
Upgrading from v0.2.0 or earlier: Remove the old extension, install the new one, and configure it again. Your database files remain in place. See upgrades, settings, and supported platforms.
Standalone executable
On macOS, install with Homebrew:
brew install --cask oschwald/tap/maxminddb-mcpFor other platforms, or without Homebrew, download an archive or Linux package from GitHub Releases. See standalone setup for installation and checksums. Then configure the server and connect your client below.
Go developers can also build from source.
Connect a client
Choose your client for step-by-step setup.
Client | Setup requirements |
Installed executable and configuration; local threads only | |
Installed executable; config file or environment settings | |
Universal native plugin, or installed executable and configuration | |
Installed executable and configuration | |
Installed executable and configuration | |
Docker engine and a config file readable by the container | |
Codex CLI registration and existing server configuration; desktop UI unverified | |
Universal plugin ZIP; installation and settings UI unverified | |
Docker engine; installation and settings UI unverified | |
Continued Gemini CLI access; native extension prompts for account settings |
Configuration
Claude Desktop users can manage settings in the extension. For standalone installations, the configuration guide covers:
Downloads using MaxMind credentials.
Existing MMDB folders or
GeoIP.conf.Environment settings, config discovery, and logging.
If setup fails, start with troubleshooting.
Tools
Your assistant discovers the tools automatically. You can ask it to look up IPs, search or summarize networks, compare and inspect databases, or install and update databases.
The tool reference documents arguments, results, filters, pagination, limits, and errors.
Help and development
Contributing: build, test, and release instructions.
License
ISC.
Available Tools
10 toolscompare_databasesCompare databasesARead-onlyIdempotent
Compare lookup answers in two loaded databases within a CIDR, for example before and after an update. Returns paginated added, removed, and changed address ranges. Equal answers with different network boundaries are unchanged. Pages scan at most 10,000 segments and can contain no changes while has_more is true. Continue until has_more is false.
Inputs: network (required), new_database (required), old_database (required), max_results, +1 more. Returns: changes, has_more, resume_token, scanned_segments
inspect_databaseInspect a databaseARead-onlyIdempotent
Read MMDB metadata and sample field paths, types, and examples. Use this to choose fields, filter paths, or a summarize_network group_by field. Sampling starts at the first network record, so observed fields are not a complete schema. Use verify_database to check file integrity.
Inputs: database (required), sample_size. Returns: fields, database, metadata, sample_limit, +3 more
install_databaseInstall a database from a URLADestructive
Download, validate, and load a database from an HTTP or HTTPS URL. Use install_edition, when available, for MaxMind editions with managed updates. Accepts MMDB, gzip, tar, tar.gz, or ZIP with exactly one MMDB. Downloads and expanded data are limited to 1 GiB. Uses the configured download folder, or the first folder in directory mode. Existing files require overwrite: true and are replaced only after validation. Does not use MaxMind credentials or save the URL for updates.
Inputs: url (required), database (required), overwrite. Returns: size, error, updated, database, +1 more
list_databasesList databasesARead-onlyIdempotent
List loaded databases, their metadata, download status, and setup instructions. Call this first to choose exact database filenames for other tools. An empty list can mean the initial download is still running. If status is downloading, wait and call again without starting another update.
Inputs: no named parameters. Returns: status, update, message, databases
lookup_ipLook up an IP addressARead-onlyIdempotent
Look up one IP address in local MMDB databases. Returns the matching record and network, with found=false when no record matches. Use lookup_ips for a batch of addresses or lookup_network to enumerate records in a CIDR.
Inputs: ip (required), fields, database. Returns: ip
lookup_ipsLook up IP addressesARead-onlyIdempotent
Look up a batch of IP addresses in local MMDB databases. Each result contains the matching record and network, found=false for no match, or an error for that address. Other addresses are still processed after an error. Use lookup_ip for a single address.
Inputs: ips (required), fields, database. Returns: results
lookup_networkQuery a networkARead-only
Find stored network records overlapping a CIDR, with optional filters and field selection. Returned networks may extend beyond the requested CIDR. Use lookup_range for start/end bounds or summarize_network for grouped counts. Repeat the network and database on each page. Stop when has_more is false.
Inputs: network (required), fields, filters, database, +4 more. Returns: results, has_more, iterator_id, resume_token, +2 more
lookup_rangeQuery an address rangeARead-only
Find stored network records overlapping an inclusive start/end IP range, with optional filters and field selection. Use lookup_network when the bounds are a CIDR. Returns each overlapping network once, including networks extending beyond the bounds. Repeat the endpoints and database on each page. Stop when has_more is false.
Inputs: end_ip (required), start_ip (required), fields, filters, +5 more. Returns: results, has_more, iterator_id, resume_token, +2 more
summarize_networkSummarize a networkARead-onlyIdempotent
Group matching records by a scalar field, such as country.iso_code or autonomous_system_number. Count records and covered addresses within a CIDR. Use lookup_network to retrieve individual records. IPv4 aliases are excluded. Exceeding 10,000 scanned records or 100 groups returns an error. Use a smaller CIDR if a limit is reached.
Inputs: network (required), database (required), group_by (required), filters, +1 more. Returns: groups, network, database, group_by, +4 more
verify_databaseVerify a databaseARead-onlyIdempotent
Check a loaded MMDB for structural corruption, such as after importing a database or encountering decode errors. Returns valid=true on success or a verification error. Use inspect_database for metadata and field samples. Only one verification runs at a time. Cancellation can stop a queued request, but verification runs to completion once started.
Inputs: database (required). Returns: valid, database, completed_after_cancellation
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 10 tools
Tools are mostly distinct: lookup_ip vs lookup_ips (batch), lookup_network (CIDR) vs lookup_range (start/end), and summarize vs lookup are clearly differentiated by descriptions. The only mild overlap is lookup_network/lookup_range and lookup_ip/lookup_ips, but each description explicitly points to the alternative tool, so misselection is unlikely.
All ten tools follow a consistent snake_case verb_noun pattern (compare_databases, lookup_network, install_database, verify_database, etc.). The only variation is singular vs plural noun (lookup_ip/lookup_ips, compare_databases), which is semantically meaningful and consistent.
Ten tools is well-scoped for a MaxMindDB server: install, list, inspect, verify, multiple lookup modes, summarize, and compare each earn a distinct role. No redundant or filler tools are present.
The surface covers the full lifecycle for loaded databases: install, list, inspect, verify, multiple lookup modes, summarize, and compare. Minor gaps remain—no explicit unload/delete of a loaded database and no bulk export—but core workflows are fully supported.
Maintenance
Related MCP Connectors
Resolves IP autonomous system numbers (ASN) and geographic coordinates.
IPStack MCP Adapter turns IPStack's REST APIs into Model Context Protocol tools so any MCP-compatible client can call them directly in conversation. The first release ships IPStack IP geolocation and security lookups (single IP, caller's IP, and bulk). Additional APILayer services are added by registering them in a single config file, so the catalog grows without client-side changes.
Unofficial IPInfo MCP — wraps ipinfo.io (free tier, no auth required for basic usage)
MAC address and OUI vendor lookup over Model Context Protocol.
Related MCP Servers
- AlicenseAqualityFmaintenanceA Model Context Protocol server that retrieves detailed geographic information about IP addresses using the ipinfo.io API, helping determine user location and network details.539 PyPI45MIT
- AlicenseNot gradedqualityBmaintenanceEnables LLMs to query IP addresses against free MaxMind GeoLite2 geolocation databases.MIT
- AlicenseAqualityCmaintenanceA Model Context Protocol server that enables LLMs to perform IP geolocation, reverse geocoding, and detect the host's public IP without requiring API keys.34 npmMIT

netloc8-mcpofficial
FlicenseAqualityCmaintenanceModel Context Protocol server for the NetLoc8 IP geolocation API. Gives AI assistants access to country/city lookup, timezone reconciliation, and IP utilities.7-