kyoto-assistant-mcp
A Kyoto travel planning assistant that uses Wikivoyage API and LangChain/LangGraph to provide real-time attraction info, operating hours, and dynamic itinerary adjustments through MCP tools.
README
京都旅遊助理 (Kyoto Travel Assistant)
版本: v4.1 (LangChain v1.0 + LangGraph v1.0)
風格: 完全仿照維也納旅遊助理
🎯 專案特色
- ✅ Wikivoyage API - 真實景點資料
- ✅ 營業檢查工具 - 模擬版本(可升級 Google Places)
- ✅ ReAct 策略 - Think → Act → Observe
- ✅ Planning 策略 - 動態調整行程
- ✅ LangChain v1.0 - 最新穩定 API
- ✅ LangGraph v1.0 - StateGraph 工作流
- ✅ 7 個 MCP 工具 - 完整協同
- ✅ Claude Desktop - 可重用 MCP Server
🚀 快速開始
1. 環境設置
# 建立虛擬環境
python -m venv venv
source venv/bin/activate # macOS/Linux
# 安裝套件
pip install -r requirements.txt
2. 設定 API Keys
# 複製環境變數模板
cp .env.example .env
# 編輯 .env,填入你的 API Keys
3. 測試運行
# 測試 MCP Server(稍後實現)
python mcp_server/server.py
# 測試 CLI(稍後實現)
python main.py test
📂 專案結構
kyoto-assistant/
├── src/ # Agent 相關
│ ├── agent/ # LangChain v1.0 Agent
│ ├── workflow/ # LangGraph v1.0 Workflow
│ └── cli/ # CLI 介面
├── mcp_server/ # MCP Server
│ └── tools/ # 7 個 MCP 工具
├── data/ # 資料檔案
├── output/ # 輸出檔案
└── tests/ # 測試腳本
🔧 技術棧
- LLM: Google Gemini 2.0 Flash (免費)
- 框架: LangChain 1.0.x + LangGraph 1.0.x
- MCP: Model Context Protocol 1.3.2
- Python: 3.10+
📚 使用範例
# 規劃行程
python main.py plan --days 2 --budget 25000 --interests 寺廟
# 詢問問題
python main.py ask "清水寺現在營業嗎?"
# 互動模式
python main.py interactive
🎓 學習目標
- ✅ Wikivoyage API 整合
- ✅ LangChain v1.0 API
- ✅ LangGraph v1.0 StateGraph
- ✅ MCP Server 開發
- ✅ ReAct + Planning 策略
開發中... 🚧
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.