infera-mcp-server
Enables AI assistants to query internal business data for insights into customers, revenue, subscriptions, sales, and churn through controlled, read-only MCP tools.
README
infera-mcp-server
Lets an AI assistant like Claude or ChatGPT access your company's internal database and give you insights — with controlled access, only to what it needs.
Architecture

Company records it can pull up
- Customers — who they are, when they joined, and whether they're active, churned, or a prospect.
- Subscriptions & plans — what each customer is subscribed to, and every upgrade, downgrade, or cancellation along the way.
- Sales deals — every closed deal, won or lost.
- Sales pipeline — every open opportunity still being worked.
Available MCP tools
| Tool | What it does |
|---|---|
get_business_summary |
Gives a quick health check of the business — revenue, customers, churn, and sales in one snapshot. |
compare_periods |
Compares how the business performed between two time periods, side by side. |
get_revenue_metrics |
Shows recurring revenue and where the growth or loss came from. |
get_revenue_trend |
Tracks recurring revenue over time — by day, month, or quarter. |
get_revenue_breakdown |
Shows which customers, plans, or products are driving the most revenue. |
get_customer_metrics |
Counts customers gained, lost, and kept, plus overall growth rate. |
get_top_customers |
Lists the biggest customers, ranked by how much they pay. |
get_subscription_metrics |
Tracks subscription activity — new signups, upgrades, downgrades, cancellations. |
get_churn_metrics |
Measures how much revenue and how many customers are being lost, and how well existing ones are retained. |
get_sales_metrics |
Summarizes closed deals — how many were won or lost, and how big they were on average. |
get_sales_pipeline |
Shows what deals are still open and roughly how much they could be worth. |
Sample analytical questions
- What's our monthly recurring revenue right now, and is our cash flow trending up or down?
- Who are our top customers, and which ones are we at risk of losing?
- How much revenue is sitting in open deals, and how likely are they to close?
- Are we losing customers faster than we're signing new ones this month?
- What's our sales win rate, and how big are deals closing on average?
Potential integrations
Not yet built — natural next steps beyond read-only reporting:
- Calendar — read schedules, create meeting events (book a call with an at-risk customer, schedule the board update).
- Email — read inbox, send new emails, reply to threads (follow up a stalled deal, send the monthly digest).
- Slack — same as email: read channels/DMs, send messages, reply in-thread.
- CRM — another database, but for customer/deal records (HubSpot/Salesforce) — read and write, alongside the analytical warehouse.
Once wired in, this unlocks questions like: "How many leads do we have, how many have we contacted, how many replied, and what platform is each one in (email vs. Slack vs. CRM)?"
Setup (Docker)
Run MCP Server and Postgres Database Engine locally using Docker
cp .env.example .env
docker compose up -d --build
docker compose run --rm mcp python -m warehouse.seed.load
Once the container's running, connect it to Claude Code by typing this on terminal:
claude mcp add infera --transport http http://localhost:8000 --header "Authorization: Bearer <MCP_API_KEY>"
Use the same MCP_API_KEY value set in .env.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.