MaxMindDB

io.github.oschwald由 GitHub 账号 oschwald 发布v0.2.0更新于 Oct 27, 2026

Query IP locations and network ownership in GeoIP2, GeoLite2, and custom MMDB databases.

已验证STDIO仅桌面数据库位置与生活

概览

AI 生成的概览

本地 MCP 服务器,让助手在 GeoIP2、GeoLite2 和自定义 MMDB 数据库中查询 IP 地理位置与网络归属。

可以做什么
  • 查询 IP 地址的国家、城市和自治系统信息
  • 在指定网段或按 ASN 搜索并汇总网络
  • 比较和查看数据库,包括可用版本与构建日期
  • 在配置凭据后安装和更新 MaxMind 数据库
适用场景
适合需要助手基于本地数据库文件回答 IP 归属地、所属网络或 ASN,以及现有 MMDB 数据库种类和更新情况等问题的场景。
运行要求
以本地进程方式运行(Docker 镜像或独立可执行文件),需要支持本地 MCP 服务器的客户端。需提供已有的 .mmdb 文件,或具备所需版本访问权限的 MaxMind 账户 ID 与许可证密钥;数据库和凭据均不随附。可选设置包括数据库目录、下载开关和版本列表。
安装前请注意
下载数据库时需要 MaxMind 账户 ID 和许可证密钥(MAXMINDDB_MCP_LICENSE_KEY),应在设置中填写而非在对话中提供。下载和更新数据库会写入本机文件。结果为估算值:地理位置并不精确,ASN 数据仅表示网络归属,不代表使用者身份。该项目为非官方项目,未获 MaxMind 认可。

安装

在 SourceWeft 中

  1. 打开 控制台中的 MaxMindDB,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

MaxMindDB MCP Server

[License: ISC]

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.

Installation

Claude Desktop

Install and configure the server through Claude Desktop. No terminal, Go installation, or config file is required.

  1. Download the latest MCPB. The single file includes native builds for all supported platforms.
  2. Open Settings → Extensions → Advanced settings → Install Extension in Claude Desktop and select the file.
  3. Choose how to provide databases in the extension settings:
    • Download databases: Enter your MaxMind account ID and license key. The default editions are GeoLite2-City and GeoLite2-ASN.
    • Use existing files: Turn off Download and update MaxMind databases and select the folder containing your .mmdb files.
  4. 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:

bash
brew install --cask oschwald/tap/maxminddb-mcp

For 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.

ClientSetup requirements
ChatGPT desktopInstalled executable and configuration; local threads only
CodexInstalled executable; config file or environment settings
Claude CodeUniversal native plugin, or installed executable and configuration
Antigravity CLI (agy)Installed executable and configuration
ZedInstalled executable and configuration
DockerDocker engine and a config file readable by the container
ChatGPT desktop plugin (experimental)Codex CLI registration and existing server configuration; desktop UI unverified
Claude Cowork plugin (experimental)Universal plugin ZIP; installation and settings UI unverified
Cursor plugin (unverified)Docker engine; installation and settings UI unverified
Gemini CLI (legacy)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

License

ISC.

来源:README.md,提交 e9b6ecf

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v0.2.0最新Oct 17, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分