Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
作者提供的说明(英文原文)
IP Geolocation MCP server that query the geolocation information using IP2Location.io API.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
IP2LOCATION_API_KEY标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"ip2location-io": {
"command": "uvx",
"args": [
"mcp-ip2location-io"
],
"env": {
"IP2LOCATION_API_KEY": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add ip2location-io --env IP2LOCATION_API_KEY=your-value -- uvx mcp-ip2location-io运行前请先填写空着的值。
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"ip2location-io": {
"command": "uvx",
"args": [
"mcp-ip2location-io"
],
"env": {
"IP2LOCATION_API_KEY": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"ip2location-io": {
"type": "stdio",
"command": "uvx",
"args": [
"mcp-ip2location-io"
],
"env": {
"IP2LOCATION_API_KEY": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日
注册名称已通过 GitHub 账户 ip2location 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
你需要填写:IP2LOCATION_API_KEY
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(1.1.1)于5个月前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Python (uv)。
同一分类中有:Spec Driven Development, Remote Desktop Commander, Master CSS
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.
Inspect Master CSS classes, generated CSS, and project stylesheets from your AI client.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
IP2Location.io MCP Server is a Model Context Protocol (MCP) server that enables MCP-compatible AI clients to perform IP address geolocation and network intelligence lookups using the IP2Location.io API.
Give it an IPv4 or IPv6 address and the MCP server can retrieve information such as geographic location, ASN, ISP, domain, network type, and proxy information, depending on your IP2Location.io API plan.
This makes it useful for IP investigation, network troubleshooting, traffic analysis, localization, security analysis, and enriching IP addresses found in logs or other datasets.
httpx for asynchronous API requests.[!NOTE]
The fields returned by IP2Location.io depend on your API subscription plan.
There are two ways to use this MCP server.
Recommended when you want to connect directly to the hosted IP2Location.io MCP server.
You can connect in either of two ways:
mcp-remote package to bridge to the hosted server.You need:
npx (only for the npx connection method)Use this option when you want to run the MCP server locally.
You need:
uvYou can sign up for a free IP2Location.io API key. The Free plan provides up to 50,000 IP Geolocation API queries per month.
The underlying IP2Location.io REST API also supports limited keyless access of up to 1,000 queries per day. For this MCP server, configuring an API key is recommended and is used in the setup examples below.
You can use this MCP server in Claude Desktop in either of the following ways:
Follow these steps to connect Claude Desktop to the hosted IP2Location.io MCP server.
claude_desktop_config.json file in your choice of editor. If you do not have one yet, follow this guide to create one.Use this if your MCP client supports remote servers over HTTP. No Node.js or npx is needed.
{
"mcpServers": { "ip2location": { "type": "http", "url": "https://mcp.ip2location.io/", "headers": { "X-API-Key": "YOUR_API_KEY" } } } }
If your client is configured from the command line, such as Claude Code, you can add the server with:
claude mcp add --transport http ip2location https://mcp.ip2location.io/ --header "X-API-Key: YOUR_API_KEY"
npxUse this if your MCP client only supports local (stdio) servers. The mcp-remote package runs locally and forwards requests to the hosted server.
{
"mcpServers": { "ip2location": { "command": "npx", "args": [ "-y", "mcp-remote@latest", "https://mcp.ip2location.io/", "--header", "X-API-Key:YOUR_API_KEY" ] } } }
YOUR_API_KEY with your actual IP2Location.io API key. To get your API key, log in to your dashboard.Connectors menu.Follow these steps if you prefer to run the MCP server locally.
uv package manager. You can refer to the guide to do so.claude_desktop_config.json file in your choice of editor. If you do not have one yet, follow this guide to create one.claude_desktop_config.json:{
"mcpServers": { "ip2locationio": { "command": "uvx", "args": [ "mcp-ip2location-io" ], "env": { "IP2LOCATION_API_KEY": " " } } } }
in the example above with your actual API key.Connectors menu.The MCP server can also be used from Python agent frameworks. The examples below connect to the hosted server over HTTP. To use the local server instead, connect with the stdio command uvx and the argument mcp-ip2location-io, and pass IP2LOCATION_API_KEY as an environment variable.
Each example reads the API key from the IP2LOCATION_API_KEY environment variable, so the key never appears in your source code.
LangChain includes MCP support in the langchain.mcp namespace, which requires LangChain 1.4 or later.
pip install "langchain[mcp]" langchain-anthropic
import asyncio
import os
from fastmcp.client.transports import StreamableHttpTransport from langchain.agents import create_agent from langchain.mcp import MCPAdapter
async def main(): transport = StreamableHttpTransport( "https://mcp.ip2location.io/", headers={"X-API-Key": os.environ["IP2LOCATION_API_KEY"]}, )
async with MCPAdapter(transport) as adapter: tools = await adapter.list_tools()
agent = create_agent("anthropic:claude-sonnet-5", tools) result = await agent.ainvoke({"messages": "Where is 8.8.8.8 located?"}) print(result"messages".content)
if name == "main": asyncio.run(main())
MCPAdapter accepts the server URL directly, but the StreamableHttpTransport object is passed here so the X-API-Key header can be set.
pip install llama-index-tools-mcp llama-index-llms-openai
import asyncio
import os
from llama_index.core.agent.workflow import FunctionAgent from llama_index.llms.openai import OpenAI from llama_index.tools.mcp import BasicMCPClient, McpToolSpec
async def main(): client = BasicMCPClient( "https://mcp.ip2location.io/", headers={"X-API-Key": os.environ["IP2LOCATION_API_KEY"]}, )
tools = await McpToolSpec(client=client).to_tool_list_async()
agent = FunctionAgent( tools=tools, llm=OpenAI(model="gpt-5-mini"), system_prompt="You are a helpful assistant that looks up IP addresses.", )
response = await agent.run("Where is 8.8.8.8 located?") print(response)
if name == "main": asyncio.run(main())
CrewAI reads MCP servers from the mcps field on an agent. This requires the mcp package to be installed alongside CrewAI.
pip install crewai mcp
import os
from crewai import Agent, Crew, Process, Task from crewai.mcp import MCPServerHTTP
ip_agent = Agent( role="IP Intelligence Analyst", goal="Look up geolocation and network information for an IP address.", backstory="An analyst who checks IP addresses against IP2Location.io.", mcps=[ MCPServerHTTP( url="https://mcp.ip2location.io/", headers={"X-API-Key": os.environ["IP2LOCATION_API_KEY"]}, ) ], )
task = Task( description="Find the geolocation of 8.8.8.8 and summarize the result.", expected_output="A short summary of the IP address location and network data.", agent=ip_agent, )
crew = Crew(agents=[ip_agent], tasks=[task], process=Process.sequential) print(crew.kickoff())
On CrewAI versions that do not support the mcps field, install crewai-tools[mcp] and wrap the server with MCPServerAdapter from crewai_tools instead.
Once the MCP server is connected, ask your MCP client questions about an IPv4 or IPv6 address using natural language. Just enter your query about the IP in a chat in Claude Desktop.
Where is the location of (IP)?
Where is (IP) located?
What is the latitude and longitude of (IP)?
For instance, below is the result of the IP 8.8.8.8:
In Claude Desktop, the model will automatically generate the output based on the result returned by IP2Location.io MCP server.
Depending on the IP2Location.io plan being used:
Is this IP address a proxy: 8.8.8.8?
You can also utilize IP2Location.io Bulk IP Geolocation API to query for multiple IP addresses.
Look up 8.8.8.8 8.8.6.6 9.9.9.9
The MCP server detects multiple IP addresses and sends them to the IP2Location.io Bulk API when possible.
IP addresses can be separated by commas, spaces, or new lines.
[!NOTE]
IP2Location.io Bulk IP Geolocation API access requires an eligible paid plan.
IP2LOCATION_API_KEYYour IP2Location.io API key IP2LOCATION_API_KEY.
The Free plan currently provides up to 50,000 IP Geolocation API queries per month and access to basic IP information.
Paid plans provide higher query quotas and additional attributes.
You can sign up for a free API key, or subscribe higher plan for comprehensive geo-ip data.
Do not commit your API key to a public Git repository.
get_geolocationDescription
只显示了开头部分;其余内容请在仓库中阅读