Geo icon

Geo

Retrieves user geolocation information for integration with large language models via the Model Context Protocol.

概要

This project serves as a practical demonstration of integrating user geolocation data with large language models through the Model Context Protocol (MCP). It leverages EdgeOne Pages Functions to accurately retrieve a user's location, which is then exposed as a callable tool for AI models via an MCP server. This setup enables AI applications to become location-aware, enhancing their ability to provide contextually relevant responses and services.

主な機能

  • Retrieves user geolocation using EdgeOne Pages Functions
  • Integrates geolocation data with Large Language Models via MCP
  • Exposes a 'get_geolocation' tool for AI models
  • Returns location information in JSON format
  • Uses EdgeOne request context for geolocation access
  • 0 GitHub stars

ユースケース

  • Demonstrate integration of EdgeOne Pages Functions with external services for AI models
  • Provide real-time location context to large language models
  • Develop AI applications requiring user-specific geographical information