mcp-geo-pub
An MCP service for getting user geolocation information
Documentation
MCP with Pages Functions :Geo Location Demo
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_geolocation` tool 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
Frequently asked questions
What is mcp-geo-pub?
mcp-geo-pub is An MCP service for getting user geolocation information
How do I install mcp-geo-pub?
Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.
Is mcp-geo-pub open source?
Yes — it is hosted on GitHub at https://github.com/edgego/mcp-geo-pub and has 1 stars.
Related MCP tools
🍒 Cherry Studio is a desktop client that supports for multiple LLM providers. Built for the Model Context Protocol to enhance AI capabilities.
Enhanced ChatGPT Clone: Features Agents, MCP, DeepSeek, Anthropic, AWS, OpenAI, Responses API, Azure, Groq, o1, GPT-5, Mistral, OpenRouter, Vertex AI, Gemini...
FastGPT is a knowledge-based platform built on the LLMs, offers a comprehensive suite of out-of-the-box capabilities such as data processing, RAG retrieval, ...
Composio equips your AI agents & LLMs with 100+ high-quality integrations via function calling for the Model Context Protocol. Enhance AI assistants with powerf
Playwright MCP server TypeScript-based implementation. Trusted by 22000+ developers. Trusted by 22000+ developers. Trusted by 22000+ developers.
📦 Repomix is a powerful tool that packs your entire repository into a single, AI-friendly file. Perfect for when you need to feed your codebase to Large Lan...
Run your own MCP server? See who uses it and what to fix.
Measure it with TrackMCP