allpets_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., "@allpets_mcpshow me this week's dashboard"
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.
allpets_mcp
Fully self-contained MCP server for AllPets Clinic & Beyond analytics. All business logic lives inside this repo — no dependency on any sibling folder at runtime.
Setup (one-time)
cd C:\Users\sathv\Desktop\allpets_mcp
# Create venv
python -m venv venv
# Install dependencies
.\venv\Scripts\pip.exe install -r requirements.txt
# Fill in credentials (already populated for local dev)
notepad .envRelated MCP server: Metrx MCP Server
Local test
# Dev inspector — opens browser UI to call tools manually
.\venv\Scripts\python.exe -m mcp dev server.py
# Or run directly (exits immediately in stdio mode — expected)
.\venv\Scripts\python.exe server.pyClaude Desktop setup
Open
%APPDATA%\Claude\claude_desktop_config.jsonAdd the
allpetsentry inside"mcpServers":
{
"mcpServers": {
"allpets": {
"command": "C:\\Users\\sathv\\Desktop\\allpets_mcp\\venv\\Scripts\\python.exe",
"args": ["C:\\Users\\sathv\\Desktop\\allpets_mcp\\server.py"]
}
}
}Restart Claude Desktop completely (quit and reopen).
The tool icon appears in the chat input — click it to see the 4 AllPets tools.
Phase 1 tools
Tool | What it does |
| Returns this ISO week's Monday/Sunday |
| Returns the current calendar month and boundaries |
| Full KPI dashboard for a date range |
| Full KPI dashboard for a YYYY-MM calendar month |
| Freeform NL2SQL question |
| Weekly dashboard as .xlsx |
| Monthly dashboard as .xlsx |
Project structure
allpets_mcp/
├── server.py ← Entry point (stdio MCP server)
├── config.py ← DB engine + env loading (self-contained)
├── dashboard_queries.py ← Pre-computed weekly KPI engine
├── nl2sql_agent.py ← 5-step LangGraph NL2SQL pipeline
├── sql_dynamic_agent.py ← SQL generation + retry (~1970 lines)
├── excel_export.py ← openpyxl report generator
├── etc/secrets/
│ └── schema_all.txt ← Full DB schema DDL (used by SQL agent)
├── adapters/
│ ├── dashboard.py ← Wraps DashboardService.run_weekly()
│ ├── analytics.py ← Wraps nl2sql_agent.run_agent()
│ └── excel.py ← Wraps generate_excel() → base64
├── tools/
│ ├── dashboard.py ← get_weekly_dashboard, get_current_week_dates
│ ├── analytics.py ← ask_analytics
│ └── reports.py ← generate_excel_report
├── .env ← All credentials (DB + OpenAI)
└── requirements.txtUpdating business logic
When dashboard_queries.py, nl2sql_agent.py, sql_dynamic_agent.py, or excel_export.py
change in allpets_new_schema, copy the updated file here:
Copy-Item ..\allpets_new_schema\dashboard_queries.py .\dashboard_queries.py -Force
Copy-Item ..\allpets_new_schema\nl2sql_agent.py .\nl2sql_agent.py -Force
Copy-Item ..\allpets_new_schema\sql_dynamic_agent.py .\sql_dynamic_agent.py -Force
Copy-Item ..\allpets_new_schema\excel_export.py .\excel_export.py -Force
Copy-Item ..\allpets_new_schema\etc\secrets\schema_all.txt .\etc\secrets\schema_all.txt -ForceThis 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
- 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
- AlicenseAqualityBmaintenanceAn MCP server for Metrx — provides tools for construction, healthcare, logistics, manufacturing, and legal mid-market businesses to query and analyze their operational data via AI.23342MIT
- Alicense-qualityDmaintenanceMCP server for managing and analyzing Amazon Advertising data through natural language queries.107MIT
- AlicenseAqualityDmaintenanceMCP server for Adobe Customer Journey Analytics, enabling AI-powered analytics queries including reports, breakdowns, trends, and dimension searches through Claude and other MCP clients.16MIT
Related MCP Connectors
GibsonAI MCP server: manage your databases with natural language
Hosted MCP server exposing US hospital procedure cost data to AI assistants
Read-only MCP server for ClassQuill, a tutoring-business-management platform.
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/sathvik1607/mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server