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
संबंधित सर्वर
Ntropy MCP server
Enrich banking data using the Ntropy API.
Tradernet MCP Server
MCP server for Tradernet/Freedom24 trading API — portfolio, orders, quotes, alerts and more
Presso
AI-powered analytics platform connecting e-commerce and marketing data (GA4, Google Ads, Meta Ads, Shopify, Search Console) to AI assistants via MCP.
Twelve Data
Interact with Twelve Data APIs to access real-time and historical financial market data for your AI agents.
Ink
Deploy and manage applications, databases, domains, and git repos via MCP
IBM Storage Insights MCP Server
An open-source MCP server providing real-time observability for IBM Storage Insights assets.
Cloudflare MCP Server
A remote MCP server deployable on Cloudflare Workers without authentication.
Weather MCP
An MCP server for accessing real-time weather data and forecasts.
DataWorks
A Model Context Protocol (MCP) server that provides tools for AI, allowing it to interact with the DataWorks Open API through a standardized interface. This implementation is based on the Aliyun Open API and enables AI agents to perform cloud resources operations seamlessly.
Kubernetes MCP
A read-only MCP server for retrieving information and diagnosing issues in Kubernetes clusters.