Flip Database MCP
Provides read-only access to a flip-tracking Supabase database, with tools for filtered property search, property flip history lookup, flip metrics summarization, and arbitrary read-only SQL queries.
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., "@Flip Database MCPSummarize flip metrics for Austin, TX over the last 6 months."
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.
Flip Database MCP
A standalone MCP server exposing 3 read-only tools over your PropertyRadar
flip-tracking Supabase database (the properties table). Built to let
Claude answer questions and summarize data from that database directly,
independent of the Deal Analysis Tool.
Tools
search_flip_database — filtered search (city, zip, spread %, days held, price range) → matching rows, sorted by spread % descending
get_property_flip_history — look up one property by address or RadarID → its full transfer history record
summarize_flip_metrics — aggregate stats (avg spread %, avg days held, top performers) for a city/zip/date range — the "advise decisions" tool
run_sql_query — open-ended, read-only SQL for questions the other 3 tools can't answer: correlations (
corr(sqft, spread_pct)), threshold/ bucket analysis (width_bucket(...)), multi-dimensional grouping ("which areas do best with condos specifically"). Runs as a dedicatedflip_readonlyPostgres role with only SELECT onproperties— no write access anywhere, enforced by the database itself, not just by this code. Also enforces: SELECT-only, single-statement-only, a 5-second timeout, and a hard 500-row cap on every query.
All four only ever read from the properties table. Nothing here
writes to it — that stays the job of the separate Python
webhook/backfill pipeline.
Related MCP server: SupaMCPBuilder
Setup
1. Create the read-only role
In your flip-tracking Supabase project's SQL Editor, run the
flip_readonly role creation block from schema.sql (in the Python
pipeline's repo) — replace the placeholder password with a real strong
one first.
2. Build the read-only connection string
Supabase's Database settings → Connection string gives you the host/port
format. Swap in the flip_readonly role and its password:
postgresql://flip_readonly:YOUR_PASSWORD@YOUR_PROJECT_HOST:5432/postgres3. Environment variables
Copy .env.example to .env locally for testing, and set the same six
in Railway's Variables tab for deployment:
Variable | Where it comes from |
| Your flip-tracking Supabase project → Settings → API |
| Same page — the legacy |
| The connection string from step 2, using the |
| Your deployed Railway URL, e.g. |
| Make up a long random string |
| Make up another random string (a static-token fallback, same pattern as deal-analysis-mcp) |
Important: use the legacy service_role key, not the new-format
sb_secret_... key. The same library-compatibility issue we hit on the
Python webhook service applies here too — the installed @supabase/supabase-js
version may not yet support the new key format cleanly.
4. Local dev
npm install
npm run dev5. Deploy to Railway
Same pattern as deal-analysis-mcp: connect this repo, Railway auto-detects the Dockerfile, set the environment variables above, generate a public domain.
6. Connect it to Claude
Once deployed, add it as a new connector in Claude using its URL:
https://your-app-name.up.railway.app/mcpClaude will walk through the OAuth flow automatically (dynamic client registration → authorize → token) — same mechanism already proven working with the Deal Analysis Tool connector.
Notes on future integration
If you later want these same 3 tools available inside the Deal
Analysis Tool as well (for cross-referencing during comp analysis), the
query logic in src/tools/*.ts here is written as plain, dependency-free
functions — they can be copied into deal-analysis-mcp's src/tools/
folder with only the Supabase client import changed to point at this
project's credentials (registered there under different env var names,
e.g. FLIP_SUPABASE_URL, so it never collides with that project's
existing SUPABASE_URL used for deal_analyses).
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-qualityAmaintenanceThis is an MCP server for PostgREST. It allows LLMs perform database queries and operations on Postgres databases via PostgREST. This server works with both Supabase projects (which use PostgREST) and standalone PostgREST servers.Last updated2,7592,845Apache 2.0
- Alicense-qualityDmaintenanceA runtime-configurable MCP server for Supabase databases that enables dynamic tool creation through JSON configuration. Build custom database operations (select, insert, update, delete) without writing code, with built-in authentication and template support.Last updated2611MIT
- Alicense-qualityFmaintenanceRead-only MCP server for SQL databases (SQL Server, Postgres, SQLite) with multi-server support and three-layer safety using AST validation and linting.Last updatedMIT
- Alicense-qualityDmaintenanceMCP server for Supabase, enabling database CRUD, storage management, auth administration, project management, edge functions, and secrets via 31 tools.Last updated18MIT
Related MCP Connectors
MCP server for interacting with the Supabase platform
MCP server for managing Prisma Postgres.
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/mhummel94/flip-database-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server