DB Analytics & Query Platform
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., "@DB Analytics & Query Platformshow the top 5 most active users and current performance metrics"
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.
DB Analytics + Query Platform (FastAPI)
Project Structure
app/main.py: FastAPI app initialization and router registrationapp/core: config and security helpersapp/db: DB engine/session and initapp/models: SQLAlchemy ORM modelsapp/schemas: Pydantic request/response schemasapp/api/routes: endpoint routesapp/services: business logic servicesapp/mcp: MCP integration stubsalembic: migration configuration
Related MCP server: NLSQL MCP Server
Requirements
Python 3.10+
SQLite
Install dependencies:
pip install -r requirements.txtLocal Run
uvicorn app.main:app --reload --host 0.0.0.0 --port 8000Open docs at http://localhost:8000/docs.
Endpoints
POST /api/auth/register: create userPOST /api/auth/token: login and retrieve JWTGET /api/auth/me: get current userPOST /api/connections/test: validate DB connectionPOST /api/connections: save connection (admin only)POST /api/queries/execute: execute SQL queryGET /api/reports/users/total: return user totalGET /api/reports/access-logsGET /api/reports/objects/summaryGET /api/metrics/performanceGET /api/metrics/top-objectsGET /api/metrics/frequencyPOST /api/mcp/run-queryGET /api/mcp/schema
Sample Flow
Register admin
curl -X POST "http://localhost:8000/api/auth/register" -H "Content-Type: application/json" -d '{"username":"admin","email":"admin@example.com","password":"password","role":"admin"}'Get token
curl -X POST "http://localhost:8000/api/auth/token" -H "Content-Type: application/x-www-form-urlencoded" -d "username=admin&password=password"Use token for protected endpoints
curl -H "Authorization: Bearer <TOKEN>" "http://localhost:8000/api/reports/users/total"Expected Register Response
Successful registration returns:
HTTP/1.1 200 OK
{
"id": 1,
"username": "admin",
"email": "admin@example.com",
"role": "admin",
"is_active": true,
"created_at": "2026-03-25T12:34:56.789000"
}If the user exists:
HTTP/1.1 400 Bad Request
{
"detail": "User already exists"
}Alembic migrations
alembic revision --autogenerate -m "init"
alembic upgrade headTool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.
No tool schema history has been recorded yet.
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 Connectors
MCP server for querying and analyzing data from ad platforms, analytics tools, and spreadsheets
The BigQuery remote MCP server is a fully managed service that uses the Model Context Protocol to connect AI applications and LLMs to BigQuery data sources. It provides secure, standardized tools for AI agents to list datasets and tables, retrieve schemas, generate and execute SQL queries through natural language, and analyze data—enabling direct access to enterprise analytics data without requiring manual SQL coding.
The Ramp MCP server enables users to securely connect Ramp with AI assistants like ChatGPT and Claude to query financial data and take actions using natural language. It transforms Ramp's developer API into a SQL interface that LLMs can query, allowing admins to analyze spend trends, identify cost savings, and run complex SQL analyses on comprehensive datasets (transactions, purchase orders, vendors, users), while all users can manage cards, view transactions, request reimbursements, and get expense policy answers.
Hosted MCP server for AI-driven data ops. Create apps, manage schemas, and CRUD structured data.
Related MCP Servers
- AlicenseAqualityCmaintenanceAn open-source MCP server that connects to various data sources (SQL databases, CSV, Parquet files), allowing AI models to execute SQL queries and generate data visualizations for analytics and business intelligence.1275MIT
- AlicenseNot gradedqualityDmaintenanceAn MCP (Model Context Protocol) server that exposes natural language to SQL functionality, allowing any MCP-compatible client to convert plain English questions into SQL queries for database interaction using AI.3MIT
- FlicenseNot gradedqualityDmaintenanceA versatile MCP server that connects to multiple relational databases (MySQL, PostgreSQL, Oracle, SQL Server, SQLite) and enables secure read-only SQL query execution and metadata access.4-
- AlicenseNot gradedqualityAmaintenanceMCP server for safely exposing SQL Server database capabilities to LLM clients, with read-only mode, security features, and observability.28MIT
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/SuryaNangunuri31/MCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server