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
Servidores relacionados
AWS MCP
Interact with your AWS environment using natural language. Requires local AWS credentials.
Alpaca MCP Server
Interact with Alpaca's Trading API for stock trading, portfolio management, and real-time market data.
Grafana
Access Grafana resources like dashboards, datasources, Prometheus, Loki, and alerts.
MCP Weather
A server for fetching weather information using the OpenWeather API.
Alpaca MCP Server
Interact with Alpaca's market data and brokerage services via its API.
CoinMarketCap MCP
Access cryptocurrency market data, exchange information, and other blockchain-related metrics from the CoinMarketCap API.
Gemini
Provides access to Google Gemini AI capabilities as tools.
Secure Ubuntu MCP Server
A security-focused MCP server for performing safe operations on an Ubuntu system, featuring robust security controls and audit logging.
Security Infrastructure MCP Servers
Integrate with security platforms like Splunk SIEM, CrowdStrike EDR, and Microsoft MISP.
soundside.ai
MCP-native AI media generation with x402 pay-per-call. Image, video, audio, and music from 6 providers — composable via resource IDs. USDC on Base.