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 分