@orphnet/d1-eloquent-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., "@@orphnet/d1-eloquent-mcpwhat migrations are pending?"
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.
@orphnet/d1-eloquent-mcp
MCP server that gives Claude (and any Model Context Protocol–compatible client) live, context-aware access to your d1-eloquent project - models, migrations, schema, seeders, factories, and the CLI.
bunx @orphnet/d1-eloquent-mcpWhat it gives Claude
24 tools, 6 resources, 2 prompts.
Introspection (read-only)
list_models·read_model·list_migrations·read_migration·migration_statusinspect_schema- querysqlite_masterto see what's actually in your D1query_d1- read-only SQL against the local D1 (SELECT/WITH/EXPLAIN/PRAGMA only)list_seeders·list_factories·read_file·refresh_projectvalidate_model·validate_all- compare declared model shape against the actual schema, report drift
Generation (delegates to the d1-eloquent CLI)
make_model·make_migration·make_seeder·make_factorymake_resource- model + migration + seeder + factory in one gomake_pivot
Execution (delegates to the d1-eloquent CLI, local D1 by default)
run_migrate·run_rollback·run_fresh·run_seedrun_generate- schema-diff: write the migration that closes the gap between your models and the live schema
Resources - Claude can pull these in as background context
d1-eloquent://project/summary- your project's discovered stated1-eloquent://docs/api/base-modeld1-eloquent://docs/api/query-builderd1-eloquent://docs/api/relationshipsd1-eloquent://docs/api/transactionsd1-eloquent://docs/guide/quick-start
Prompts - pre-built multi-step workflows
create-model- scaffold + migrate + verify in one chataudit-schema- compare every model against the actual D1 schema, report drift
Related MCP server: Semantic D1 MCP
Install
Claude Code
claude mcp add d1-eloquent -- bunx @orphnet/d1-eloquent-mcpClaude Desktop
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):
{
"mcpServers": {
"d1-eloquent": {
"command": "bunx",
"args": ["@orphnet/d1-eloquent-mcp"]
}
}
}Per-project (Claude Code)
.claude/mcp.json:
{
"mcpServers": {
"d1-eloquent": {
"command": "bunx",
"args": ["@orphnet/d1-eloquent-mcp"]
}
}
}To point at a project that isn't the current directory:
{
"mcpServers": {
"d1-eloquent": {
"command": "bunx",
"args": ["@orphnet/d1-eloquent-mcp", "--project", "/path/to/your/d1-eloquent-project"]
}
}
}Requirements
Node.js ≥ 22
wranglerinstalled and authenticated for D1 access (bun add -D wrangler)An existing
@orphnet/d1-eloquentproject - the server discovers models/migrations/seeders by scanning your file tree
Safety
query_d1rejects anything other thanSELECT/WITH/EXPLAIN/PRAGMA, and rejects multi-statement payloads.read_filerefuses paths containing..or starting with/.Generation tools shell out to your existing d1-eloquent CLI - they don't ship their own writers.
Execution tools (
run_migrate/run_rollback/run_fresh/run_seed) only operate on the local D1 by default. For remote, run via the CLI directly.
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
- Alicense-qualityCmaintenanceAn MCP server that allows using natural language to manage Cloudflare resources (Workers, KV, R2, D1) through Claude Desktop, VSCode, and other MCP clients.1610Apache 2.0

Semantic D1 MCPofficial
AlicenseAqualityDmaintenanceEnables AI-assisted analysis and optimization of Cloudflare D1 databases through comprehensive schema introspection, relationship mapping, validation, and optimization recommendations. Demonstrates semantic intent patterns with hexagonal architecture for maintainable database development workflows.42MIT- Flicense-qualityAmaintenanceA secure, read-only MCP server that empowers Claude Desktop and AI agents to safely query and inspect local SQLite databases.
- Alicense-qualityBmaintenanceA Node.js MCP server that gives Claude Code direct access to file operations, database queries, PHP execution, SFTP deployment, and over 60 specialized tools for development and debugging.1MIT
Related MCP Connectors
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
Hosted Amazon Seller and Vendor MCP server for Claude, ChatGPT, Cursor, Codex, Gemini, Copilot.
The bridge from K2 agents through Wrangler to your master AI - safe, approval-gated Cloudflare ops.
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/Orphnet/d1-eloquent-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server