DeTLeng BigQuery MCP Server

DeTLeng BigQuery MCP Server

Enables AI assistants to query trusted BigQuery analytics using curated Business Intelligence tools, providing secure, accurate business metrics and KPIs through natural language.

Category
访问服务器

README

What is MCP?

MCP stands for Model Context Protocol.

It is an open standard that allows Artificial Intelligence models to communicate with external systems, applications, databases, APIs, and business tools in a structured and secure way.

Without MCP, an AI model can only respond based on its training data and the information provided in the conversation.

With MCP, AI can retrieve live information, execute approved business tools, and interact with trusted data sources in real time.

Think of MCP as the bridge between AI and the real business world.


Why is MCP Needed?

Modern businesses generate data every day.

Sales.

Customers.

Orders.

Products.

Payments.

Inventory.

Dashboards help visualize this information, but they still require users to know where to click, how to filter data, and how to interpret reports.

Business users often have much simpler questions:

  • What was today's revenue?
  • Which products are selling the most?
  • How many customers placed orders this week?
  • Which region generated the highest sales?

Instead of searching through dashboards or writing SQL queries, users simply ask the question.

MCP enables AI to retrieve trusted answers directly from business systems.


Common Uses of MCP

MCP can connect AI with almost any business platform.

Examples include:

  • Google BigQuery
  • PostgreSQL
  • SQL Server
  • Snowflake
  • REST APIs
  • Google Drive
  • GitHub
  • Gmail
  • Slack
  • Microsoft Teams
  • CRM Systems
  • ERP Systems
  • Internal Business Applications

In other words, MCP allows AI to work with real business systems instead of relying only on general knowledge.


Why Did We Build the DeTLeng BigQuery MCP Server?

Many MCP servers are designed as general-purpose connectors.

The DeTLeng approach is different.

We are not building another generic database connector.

We are building a Business Intelligence Layer on top of Google BigQuery.

Instead of allowing AI to directly explore databases, the DeTLeng BigQuery MCP Server exposes trusted Business Intelligence tools.

Examples include:

  • Total Revenue
  • Customer Insights
  • Product Performance
  • Delivery Analysis
  • Sales KPIs
  • Business Metrics

This ensures that AI interacts with business-ready analytical data rather than raw operational data.


Why This Project Matters

Artificial Intelligence is becoming the natural interface for business users.

However, AI is only as reliable as the data it receives.

The DeTLeng BigQuery MCP Server combines:

  • Data Engineering
  • Google BigQuery
  • Business Intelligence
  • OpenAI
  • MCP

to create an intelligent platform where businesses can interact with trusted analytics using natural language.

Instead of asking:

SELECT SUM(payment_value)
FROM fact_sales;

A business user simply asks:

"What is our total revenue?"

The platform handles everything else.

That is the purpose of the DeTLeng BigQuery MCP Server.

DeTLeng BigQuery MCP Server

Transform trusted BigQuery analytics into AI-powered business intelligence.

This repository documents the complete journey of building an AI-powered Business Intelligence platform—from Data Engineering foundations to intelligent business insights.


Current Project Status

The DeTLeng BigQuery MCP Server is currently being developed as part of the CS-003 – Building an Analytics-Ready E-Commerce Dataset with Google BigQuery case study.

At this stage, the project is intentionally being built in public.

The complete architecture, documentation, implementation journey, and source code are openly available to encourage learning, knowledge sharing, and community collaboration.

Anyone is welcome to explore the project, understand the architecture, and follow the implementation process from Data Engineering to AI-powered Business Intelligence.

As the project evolves, it will become the foundation for future DeTLeng Business Intelligence solutions and real-world client implementations.

If this approach aligns with your business needs, we would be delighted to discuss how DeTLeng can help build an Intelligent Business Platform for your organization.

Learn. Explore. Build. Collaborate.

And when you're ready...

Place your order.

We will take care of the rest.


DeTLeng

Transform Complexity into Clarity.

Transform Data into Decisions.

Transform Knowledge into Business Value.


Overview

The DeTLeng BigQuery MCP Server is an open, reusable Model Context Protocol (MCP) server designed to securely connect AI assistants with Google BigQuery analytics datasets.

Rather than exposing raw databases or allowing unrestricted SQL execution, this project provides curated Business Intelligence tools that return trusted metrics, KPIs, and analytical insights.

It is designed around the DeTLeng philosophy:

From Raw Data to Business Value.


Why This Project Exists

Modern AI assistants can answer questions.

Businesses need accurate answers backed by trusted data.

This project bridges that gap.

Instead of asking an AI to guess business metrics, the assistant retrieves information directly from an analytics-ready BigQuery warehouse through carefully designed business tools.


DeTLeng Philosophy

We do not simply expose databases.

We expose Business Intelligence.

Instead of:

AI
    ↓
Generate SQL
    ↓
Database

We build:

AI
    ↓
Business Intelligence Tools
    ↓
BigQuery Analytics
    ↓
Trusted Business Answers

Key Features

  • Google BigQuery Integration
  • Model Context Protocol (MCP)
  • AI-ready Business Intelligence
  • Secure Analytics Layer Access
  • Reusable Business Tools
  • OpenAI Compatible
  • Claude Compatible
  • Gemini Compatible
  • Production-Oriented Architecture

Core Principles

This project follows several architectural principles.

Analytics First

AI only accesses trusted analytics datasets.

Never raw operational tables.

Never staging datasets.


Security by Design

Only approved business tools are exposed.

The AI never receives unrestricted database access.


Business Over SQL

The AI interacts with business concepts rather than writing arbitrary SQL whenever possible.

Examples include:

  • Total Revenue
  • Customer Count
  • Monthly Sales
  • Top Products
  • Delivery Performance

High-Level Architecture

                User
                  │
                  ▼
      DeTLeng BI Assistant
                  │
                  ▼
        OpenAI / Claude / Gemini
                  │
                  ▼
     DeTLeng BigQuery MCP Server
                  │
                  ▼
          Business Intelligence Tools
                  │
                  ▼
      Google BigQuery Analytics Layer
                  │
                  ▼
          Trusted Business Answers

Repository Structure

detleng-bigquery-mcp/

│
├── server.py
├── tools.py
├── bigquery_client.py
├── config.py
├── requirements.txt
├── README.md
│
├── prompts/
│   └── system_prompt.md
│
└── docs/
    └── architecture.md

Current Development Status

This project is currently under active development.

Initial milestones include:

  • Project Architecture
  • BigQuery Connection
  • MCP Server
  • Business Intelligence Tools
  • OpenAI Integration
  • Website Integration
  • Production Deployment

Planned Business Intelligence Tools

Initial release will include tools such as:

  • get_customer_count()
  • get_total_orders()
  • get_total_revenue()
  • get_top_products()
  • get_sales_by_region()
  • get_delivery_performance()

Future releases will expand to include:

  • Customer Analytics
  • Product Analytics
  • Revenue Analytics
  • Delivery Analytics
  • Payment Analytics
  • Executive KPIs
  • Trend Analysis
  • Forecast Support

Technology Stack

  • Python
  • FastMCP
  • Google BigQuery
  • Google Cloud
  • OpenAI Responses API
  • Model Context Protocol (MCP)

DeTLeng Ecosystem

This project is part of the broader DeTLeng ecosystem focused on building Intelligent Business Systems through Data Engineering, Analytics, Artificial Intelligence, and Automation.

Core specialization:

  • Data Engineering
  • ETL / ELT
  • Analytics Engineering
  • BigQuery
  • Business Intelligence
  • AI Assistants
  • AI Agents
  • MCP
  • Intelligent Business Systems

Vision

The long-term objective is to create a reusable Business Intelligence layer that allows organizations to interact with their trusted analytics warehouse using natural language.

The same architecture can be reused across industries including:

  • Retail
  • Healthcare
  • Manufacturing
  • Finance
  • Education
  • Logistics
  • Human Resources

License

MIT License


DeTLeng

Transform Complexity into Clarity.

Transform Data into Decisions.

Transform Knowledge into Business Value.

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选