EdgeOne Geo Location Service
Provides user geolocation data via Tencent EdgeOne Pages Functions, enabling large language models to access location information.
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
Related Servers
CryptoTwitter.Space x402 MCP Server
Provides pay-per-use access to premium CryptoTwitter.Space reports with automated revenue distribution.
Remote MCP Server (Authless)
A remote MCP server without authentication, deployable on Cloudflare Workers.
Typecast API
An MCP server for the Typecast API, enabling AI-powered voice generation for various content.
Cisco Support MCP Server
Access Cisco Support APIs for bug searches and other support-related tasks.
AWS News
Fetches the latest announcements, blog posts, and news for specific AWS services.
Cloudflare MCP Server
A template for deploying a remote MCP server on Cloudflare Workers without authentication.
Salesforce TypeScript Connector
Interact with Salesforce data using SOQL queries, SOSL searches, and CRUD operations via a TypeScript MCP server.
AWS EC2 Pricing
Get up-to-date EC2 pricing information with one call. Fast. Powered by a pre-parsed AWS pricing catalogue.
Gemini MCP Server
Access Google's Gemini AI through the gemini-cli command-line tool.
Kaggle
Interact with the Kaggle API to access datasets, notebooks, and competitions.