Baby Sensory Analytics MCP Server
Provides read/write access to a Supabase PostgreSQL database for storing and querying baby sensory play session data, including session logs, engagement metrics, and preferences.
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., "@Baby Sensory Analytics MCP Serverwhat is my baby's favorite theme?"
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.
Baby Sensory Analytics MCP Server
Cloud-powered analytics server for Baby Sensory World application. Tracks engagement patterns, favorite themes, colors, and provides AI-powered insights to optimize your baby's sensory experience.
š Read HOW_IT_WORKS.md for a comprehensive guide with diagrams explaining the full system architecture and how the MCP server integrates with the web application.
Features
āļø Cloud Storage - Supabase PostgreSQL database for reliable, accessible data
š Session Tracking - Records every 20-minute play session with full engagement metrics
š§ Smart Insights - AI analyzes favorite themes, colors, objects, and best play times
š¤ MCP Integration - Accessible via Model Context Protocol for Claude and other AI assistants
š Privacy First - Your data, your database, full control
Related MCP server: saas-brain-mcp
Setup
1. Install Dependencies
cd baby-sensory-analytics
npm install
npm run build2. Set Up Supabase Database
The MCP server uses Supabase for cloud storage. If you haven't already:
Create a free account at supabase.com
Create a new project
Run the table creation SQL (in
supabase/migrations/001_create_sessions_table.sql)Get your project URL and anon key from Project Settings > API
The database credentials are configured in src/db/supabase.config.ts or can be set via environment variables:
export SUPABASE_URL="https://your-project.supabase.co"
export SUPABASE_ANON_KEY="your-anon-key-here"3. Configure MCP Server
Add to ~/.claude/mcp_settings.json:
{
"mcpServers": {
"baby-sensory-analytics": {
"command": "node",
"args": ["/Users/your-username/path/to/baby-sensory-analytics/dist/index.js"],
"env": {
"SUPABASE_URL": "https://your-project.supabase.co",
"SUPABASE_ANON_KEY": "your-anon-key"
}
}
}
}Note: The keys in env override the defaults in supabase.config.ts.
Usage
1. Web App Integration
Your Baby Sensory World web app needs to write sessions directly to Supabase. Add the Supabase client to your web app:
npm install @supabase/supabase-jsThen configure it to save sessions after each play session:
import { createClient } from '@supabase/supabase-js';
const supabase = createClient(
'https://your-project.supabase.co',
'your-anon-key'
);
// After a session completes
await supabase.from('sessions').insert({
id: sessionId,
timestamp: Date.now(),
theme: 'Ocean',
duration: 1200,
touches: 156,
color_counts: { "#4ECDC4": 45, "#0088FF": 38 },
object_counts: { "š": 48, "š«§": 35 },
nursery_rhymes_played: ["Twinkle Twinkle"],
streaks: 12,
milestones: [10, 25, 50, 100, 150],
completed_full: true
});2. Query Insights via MCP
Once data is synced, you can query insights using Claude or any MCP client:
"Show me my baby's weekly summary"
"What is my baby's favorite theme?"
"What colors does my baby interact with most?"
"When is the best time to play?"MCP Resources
The server exposes these resources:
baby-sensory://sessions/list- All recorded sessionsbaby-sensory://sessions/recent- Last 7 days of sessionsbaby-sensory://sessions/{id}- Specific session detailsbaby-sensory://insights/weekly-summary- Weekly engagement reportbaby-sensory://insights/themes- Theme preference rankingsbaby-sensory://insights/colors- Color engagement statsbaby-sensory://insights/timing- Best times for playbaby-sensory://export/all- Export all data as JSON
MCP Tools
The server provides these tools:
create_session- Log a new play sessionget_session- Retrieve session by IDlist_sessions- List sessions with optional limit
Data Schema
Session Object
{
id: string // UUID
timestamp: number // Unix timestamp (ms)
theme: string // "Ocean", "Space", etc.
duration: number // Seconds
touches: number // Total touches
colorCounts: { // Color engagement
"#FF6B6B": 15,
"#4ECDC4": 23
},
objectCounts: { // Object type engagement
"š ": 8,
"ā": 12
},
nurseryRhymesPlayed: [ // Rhymes played during session
"Twinkle Twinkle",
"Baa Baa Black Sheep"
],
streaks: number // Longest streak
milestones: [10, 25, 50], // Milestones achieved
completedFull: boolean // Finished 20 minutes?
}Development
Run in Development Mode
npm run watch # Auto-rebuild on changesTest with MCP Inspector
npm run inspectorThis opens the MCP Inspector tool to test resources and tools.
Debugging
Server logs to stderr for debugging:
node dist/index.js 2> debug.logArchitecture
āāāāāāāāāāāāāāāāāāāāāāāāāāā
ā Baby Sensory Web App ā
ā (React + Vite) ā
ā - Netlify hosted ā
āāāāāāāāāāāāāā¬āāāāāāāāāāāāā
ā
ā HTTP/REST API
ā (Supabase Client)
ā¼
āāāāāāāāāāāāāāāāāāāāāāāāāāā
ā Supabase Cloud ā
ā - PostgreSQL Database ā
ā - Real-time sync ā
ā - Row Level Security ā
āāāāāāāāāāāāāā¬āāāāāāāāāāāāā
ā
ā Read (Supabase Client)
ā¼
āāāāāāāāāāāāāāāāāāāāāāāāāāā
ā Baby Sensory Analytics ā
ā MCP Server (Local) ā
ā (Node.js) ā
āāāāāāāāāāāāāā¬āāāāāāāāāāāāā
ā
ā MCP Protocol (stdio)
ā¼
āāāāāāāāāāāāāāāāāāāāāāāāāāā
ā Claude Code / AI ā
ā (MCP Clients) ā
āāāāāāāāāāāāāāāāāāāāāāāāāāāData Flow:
Web app ā Supabase (sessions written after play)
MCP Server ā Supabase (reads sessions for analytics)
Claude Code ā MCP Server (queries insights via MCP protocol)
Future Enhancements
Direct Browser Integration - WebSocket bridge for real-time sync
Dashboard UI - Visual charts and graphs in the web app
Insights Widget - Show favorite theme on main screen
Export Features - Download reports as PDF
Trend Analysis - Track changes in preferences over time
Privacy
All data stored locally on your machine
No network requests to external servers
No telemetry or analytics collection
You own your data, delete anytime
License
MIT
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
- Flicense-qualityDmaintenanceAn enterprise-ready MCP server that provides persistent sentiment analytics, churn prediction, and automated risk alerting for customer conversations. Enables Claude to track sentiment trends, detect at-risk customers, generate reports, and maintain historical context across interactions.Last updated
- Flicense-qualityDmaintenanceOpen-source MCP server for Claude AI that connects Stripe and Supabase to enable natural language SaaS analytics, including churn analysis, subscription tracking, and revenue insights.Last updated
- AlicenseAqualityAmaintenanceMarketing Analytics AI - MCP server providing AI-powered tools and automation by MEOK AI LabsLast updated516MIT
- 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.Last updated16MIT
Related MCP Connectors
Cloud MCP for project data, analytics, research, content planning, media generation, and growth.
Cloud-hosted MCP server for durable AI memory
A paid remote MCP for AI SDK eval dashboard, built to return verdicts, receipts, usage logs, and aud
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/aathavale25-web/baby-sensory-analytics'
If you have feedback or need assistance with the MCP directory API, please join our Discord server