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
相關伺服器
Replicate Designer
Generate images using Replicate's Flux 1.1 Pro model.
AWS MCP Servers
A suite of MCP servers providing AI applications with access to AWS documentation, contextual guidance, and best practices.
Space Frontiers
Interfaces with the Space Frontiers API, enabling language models to interact with its data sources.
Mezmo
Retrieve logs from the Mezmo observability platform.
Kaggle
Interact with the Kaggle API to access datasets, notebooks, and competitions.
DMARC MCP Server
DMARC MCP Server provides programmatic read only access to DNS and email authentication data so developers and AI agents can validate DMARC, SPF, and DKIM configurations directly inside MCP compatible tools.
Google Cloud
An MCP server for interacting with your Google Cloud resources and services.
Honeycomb MCP
Interact with Honeycomb observability data using the Model Context Protocol.
Datadog MCP Server
Provides comprehensive Datadog monitoring capabilities through MCP clients. Requires Datadog API and Application keys.
Second Opinion MCP
Consult multiple AI models, including local, cloud, and enterprise services, to get diverse perspectives on a topic.