EdgeOne Geo Location
Provides geolocation data using EdgeOne Pages Functions.
EdgeOne Pages MCP: Geo Location Service
This project demonstrates how to use EdgeOne Pages Functions to retrieve user geolocation information and integrate it with large language models through MCP (Model Context Protocol).
Demo

Deploy
More Templates: EdgeOne Pages
Components
1. EdgeOne Pages Functions: Geolocation
The project includes an EdgeOne Pages Function that retrieves user geolocation information:
- Uses the EdgeOne request context to access geolocation data
- Returns location information in a JSON format
- Located in
functions/get_geo.ts
2. MCP Server Integration
The MCP server component provides an interface for large language models to access geolocation data:
- Implements the Model Context Protocol (MCP)
- Exposes a
get_geolocationtool that can be used by AI models - Uses the EdgeOne Pages Function to fetch geolocation data
- Located in
mcp-server/index.ts
MCP Configuration
To use the MCP server with large language models, add the following configuration:
{
"mcpServers": {
"edgeone-geo-mcp-server": {
"command": "tsx",
"args": ["path/to/mcp-server/index.ts"]
}
}
}
Learn More
- EdgeOne Pages
- EdgeOne Pages Functions documentation
- Model Context Protocol (MCP) - Learn about integrating AI models with external tools and services
相关服务器
Forge MCP Server
Integrate with the Laravel Forge API to manage servers and deployments using MCP-compliant tools.
SiteBay
Manage your SiteBay WordPress hosting platform. Handle sites, execute server commands, and manage staging environments via natural language.
Remote MCP Server (Authless)
An example of a remote MCP server deployable on Cloudflare Workers, operating without authentication.
Authless Remote MCP Server
A remote MCP server without authentication, deployable on Cloudflare Workers.
AWS News
Fetches the latest announcements, blog posts, and news for specific AWS services.
Skyvia MCP
Skyvia MCP Endpoint is a no-code gateway that makes your business data accessible to AI assistants in real time.
Spotify MCP Node Server
Control Spotify playback and manage playlists using AI assistants and IDEs.
Remote MCP Server on Cloudflare
A self-hostable MCP server for Cloudflare Workers with OAuth login support, using Cloudflare KV for storage.
Satellite Tracking
Provides real-time satellite tracking data using the N2YO API.
IPGeolocation.io MCP Server
Official MCP server for IP geolocation, IP security, abuse contacts, ASN, timezone, astronomy, and user-agent parsing.