Globalping
Globalping
README
Globalping MCP Server
<p align="center"> <img src="https://raw.githubusercontent.com/jsdelivr/globalping-media/refs/heads/master/logo/full_colored_dark.svg" alt="Globalping Logo" width="180"/> </p>
<p align="center"> <b>Enable AI models to interact with a global network measurement platform through natural language. Give network access to any LLM.</b> </p>
<p align="center"> <a href="https://github.com/modelcontextprotocol/modelcontextprotocol"> <img src="https://img.shields.io/badge/MCP-compatible-brightgreen.svg" alt="MCP Compatible"> </a> </p>
What is Globalping?
Globalping is a free, public API that provides access to a globally distributed network of probes for monitoring, debugging, and benchmarking internet infrastructure. With Globalping, you can run network tests (ping, traceroute, DNS, MTR, HTTP) from thousands of locations worldwide.
What is the Globalping MCP Server?
The Globalping MCP Server implements the Model Context Protocol (MCP), allowing AI models like OpenAI's GPT and Anthropic's Claude to interact with Globalping's network measurement capabilities through natural language.
It also supports oAuth authentication, which offers a secure way to interact with our API and benefits from higher rate limits associated with your account.
Key Features
- 🌐 Global Network Access: Run measurements from thousands of probes worldwide
- 🤖 AI-Friendly Interface: Any LLM will easily parse the data and run new measurements as needed
- 📊 Comprehensive Measurements: Support for ping, traceroute, DNS, MTR, and HTTP tests
- 🔍 Smart Context Handling: Provides detailed parameter descriptions for AI clients to intelligently select measurement types and options
- 🔄 Comparative Analysis: Allows to compare network performance between different targets
- 🔑 oAuth Support: Use your own Globalping account for higher rate limits
Installation
The remote MCP server is available under this endpoint https://mcp.globalping.dev/sse
You can integrate our Globalping MCP server with various AI tools that support the Model Context Protocol.
Here are instructions for the top 3 most popular tools:
Claude Desktop App
Add to your Claude Desktop configuration file (located at %APPDATA%\Claude\config.json on Windows or ~/Library/Application Support/Claude/config.json on macOS):
{
"mcpServers": {
"globalping": {
"command": "npx",
"args": [
"mcp-remote",
"https://mcp.globalping.dev/sse"
]
}
}
}
Anthropic Claude API (via Console)
When creating a Claude Assistant in the Anthropic Console:
- Go to console.anthropic.com
- Navigate to the Assistants section
- Create a new Assistant or edit an existing one
- In the Tools section, select "Add custom tool"
- Enter the following details:
- Tool Name:
Globalping - Description:
Run network tests from locations worldwide - Tool URL:
https://mcp.globalping.dev/sse
- Tool Name:
Cursor
To add the Globalping MCP server to Cursor:
- Open Cursor settings
- Navigate to the AI tab
- Scroll down to find "Model Context Protocol"
- Click "Add MCP Server"
- Enter:
- Name:
Globalping - URL:
https://mcp.globalping.dev/sse - Check "Enabled"
- Name:
- Click "Save"
Connecting AI Assistants
This MCP server can be used with any MCP-compatible AI assistant, including:
- Claude Desktop
- Anthropic Assistants
- Cursor
- Windsurf
- Any custom implementation of the MCP protocol
See the MCP documentation for details on connecting clients to this server.
Available Tools
ping- Perform a ping test to a targettraceroute- Perform a traceroute test to a targetdns- Perform a DNS lookup for a domainmtr- Perform an MTR (My Traceroute) test to a targethttp- Perform an HTTP request to a URLlocations- List all available Globalping probe locationslimits- Show your current rate limits for the Globalping APIgetMeasurement- Retrieve a previously run measurement by IDcompareLocations- Guide on how to run comparison measurementshelp- Show a help message with documentation on available tools
Usage Examples
Once connected to an AI model through a compatible MCP client, you can interact with Globalping using natural language:
Ping google.com from 3 locations in Europe
Run a traceroute to github.com from Japan and compare with traceroute from the US
Check the DNS resolution of example.com using Google DNS (8.8.8.8)
Is jsdelivr.com reachable from China? Test with both ping and HTTP
What's the average response time for cloudflare.com across different continents?
Location Specification
Locations can be specified using the "magic" field, which supports various formats:
- Continent codes: "EU", "NA", "AS", etc.
- Country codes: "US", "DE", "JP", etc.
- City names: "London", "Tokyo", "New York", etc.
- Network names: "Cloudflare", "Google", etc.
- ASN numbers: "AS13335", "AS15169", etc.
- Cloud provider regions: "aws-us-east-1", "gcp-us-central1", etc.
You can also combine these with a plus sign for more specific targeting: "London+UK", "Cloudflare+US", etc.
Development
The codebase is organized into modules:
src/index.ts- Main entry point and MCP agent definitionsrc/globalping/types.ts- TypeScript interfaces for the Globalping APIsrc/globalping/api.ts- API wrapper functions for Globalpingsrc/globalping/tools.ts- MCP tool implementationssrc/utils.ts- Helper utilities for rendering the web UI
Add Globalping credentials
Add Globalping OAuth credentials:
npx wrangler secret put GLOBALPING_CLIENT_IDnpx wrangler secret put GLOBALPING_CLIENT_SECRET
KV storage
Used for OAuthProvider docs https://github.com/cloudflare/workers-oauth-provider
- create a KV namespace and copy ID
- binding for it must be
OAUTH_KV - configure
kv_namespacesin thewrangler.jsoncfile
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。