Semantic BI MCP
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Semantic BI MCPWhat's our monthly recurring revenue?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Semantic BI MCP
Model Context Protocol (MCP) server that gives AI assistants a safe, correct data-analyst capability over business metrics - without raw SQL improvisation.
Talk to your data in plain English. Get answers that are always correct and can never break anything.
What makes this different
Most data MCPs expose a raw SQL runner and let the model improvise. That miscounts, mis-joins, ignores soft-deletes, and can mutate or leak data.
This project does the opposite: a semantic layer. Every business metric is defined once as vetted SQL in lib/metrics.ts and exposed as an MCP tool. The model assembles answers from correct building blocks. Guardrails (read-only, caps, PII masking, audit log) are first-class features.
Related MCP server: MCP SQL Server
Architecture
One Next.js app, four layers:
Layer | Path | Purpose |
MCP server |
| Tools, resources, prompts at |
Semantic layer |
| sql.js dataset, metrics, guards, audit, auth |
LangChain agent |
|
|
Chat UI |
| Live tool-call visualization |
Tech stack
Next.js 15 (App Router), TypeScript, Tailwind CSS 4
MCP:
mcp-handler+@modelcontextprotocol/sdk@^1.26Data:
sql.js(WASM SQLite, serverless-safe)Agent:
@langchain/mcp-adapters,@langchain/langgraph,@langchain/openaiDeploy: Vercel Pro + Fluid compute
Quick start
See INSTALLATION.md for full setup including environment variables.
npm install
cp .env.example .env.local # fill in keys
npm run devChat UI: http://localhost:3000
MCP endpoint: http://localhost:3000/api/mcp
MCP Inspector:
npx @modelcontextprotocol/inspector
MCP capabilities
Tools (11)
Tool | Description |
| Monthly Recurring Revenue |
| Annual Recurring Revenue |
| Subscription churn % |
| Active/trialing count by tier |
| New customer acquisitions |
| Paid revenue by plan |
| Active customer count |
| NRR between two months |
| Read-only SELECT on whitelisted views |
| Metric catalog |
| Recent tool invocations |
Resources (3)
dataset://schema- table/view definitionssemantic-layer://catalog- metric catalog JSONdataset://stats- dataset overview
Prompts (3)
executive-summary- monthly SaaS health summarymrr-trend-analysis- compare two monthschurn-investigation- structured churn analysis
Security
See SECURITY.md for the full security audit and status.
Project docs
INSTALLATION.md - setup and env var guide
SECURITY.md - security posture and audit
License
Neural LB - portfolio / demo use. Dataset is fictional (Northwind SaaS).
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityAmaintenanceA Model Context Protocol server implementation that enables AI assistants to securely interact with GreptimeDB, allowing them to explore database schema, read data, and execute SQL queries through a controlled interface.1329MIT
- Alicense-qualityDmaintenanceA Model Context Protocol server that provides AI assistants with comprehensive access to SQL databases, enabling schema inspection, query execution, and database operations with enterprise-grade security.697MIT
- Alicense-qualityCmaintenanceMCP server for PostgreSQL, MySQL, and SQLite that gives AI assistants secure database access via the Model Context Protocol.614MIT
- Alicense-qualityAmaintenanceMCP server for the OrionBelt Semantic Layer. Enables LLMs to explore governed semantic models, compile YAML metric definitions into optimized SQL across 8 engines (BigQuery, ClickHouse, Databricks, Dremio, DuckDB, MySQL, PostgreSQL, Snowflake), and execute analytics queries via natural language. Works with Claude, Cursor, Windsurf, and Copilot.3Apache 2.0
Related MCP Connectors
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
A Model Context Protocol server for Wix AI tools
MCP (Model Context Protocol) server for Appwrite
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/LovroBubanic/Semantic-BI-MCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server