D1 Database Intelligence
Built specifically for Cloudflare D1. Deep schema introspection, relationship analysis, and optimization recommendations powered by semantic intent patterns.
Deep Insights. Database Intelligence. Dive into your D1 data.
# Clone the repository
git clone https://github.com/semanticintent/semantic-perch-intelligence-mcp.git
# Install dependencies
cd semantic-perch-intelligence-mcp
npm install
# Configure your Cloudflare credentials
cp .env.example .env
# Edit .env with your credentials
# Build the MCP server
npm run build
# Start using with Claude Desktop
# Add to your Claude Desktop configuration
PerchIQX (Perch Intelligence Quotient eXtended) is a Model Context Protocol (MCP) server that brings deep database intelligence to your AI assistant. Like a cormorant perched above the water, diving deep to catch fish, PerchIQX dives into your Cloudflare D1 databases to surface the insights you need.
Note: PerchIQX serves as both a practical D1 introspection tool and a reference implementation of the Semantic Intent pattern applied to database intelligence. The codebase demonstrates hexagonal architecture, domain-driven design, and semantic anchoring principles.
Perch (cormorant) birds are expert fishers that perch above water, dive deep, and surface with their catch. PerchIQX brings that same precision to database intelligence:
Direct API integration for:
Built on research-backed principles:
Built on Hexagonal Architecture with clean separation:
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Presentation Layer โ
โ (MCP Server - Protocol Handling) โ
โโโโโโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ
โโโโโโโโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Application Layer โ
โ (Use Cases - Schema Analysis Orchestration) โ
โโโโโโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ
โโโโโโโโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Domain Layer โ
โ (Schema Entities, Relationship Logic, Services) โ
โ Pure Business Logic โ
โโโโโโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ
โโโโโโโโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Infrastructure Layer โ
โ (Cloudflare D1 REST API, HTTP Client) โ
โ Technical Adapters โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Michael Shatny is a software developer specializing in modernizing legacy systems through agentic UX, AI-powered workflows, and semantic intent patterns. Based in Ontario, Canada, Michael's work bridges practical software development with academic research in AI-assisted development.
PerchIQX serves as a reference implementation of the Semantic Intent pattern applied to database intelligence. The research behind this pattern achieved 78% improvement in behavioral consistency in real-world applications.
Built with semantic intent patterns for database intelligence
Deep Insights. Database Intelligence. ๐๏ธ