This project designs and implements an architecture that connects the data space with generative AI. Through the Model Context Protocol (MCP) server as a secure middle layer, the language model can indirectly access the DuckDB database. It has the characteristics of modularity, extensibility, and log tracking, laying the foundation for future upgrades to the RAG architecture.