Founder Intelligence Engine
Click on "Deploy 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., "@Founder Intelligence Engine analyze Sam Altman's profile and fetch the latest relevant news"
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.
Founder Intelligence Engine — MCP Server
A production-grade Model Context Protocol (MCP) server that transforms founder profiles into actionable strategic intelligence.
Architecture
┌───────────────────────────────────────────────────────────┐
│ MCP Client (Claude, etc.) │
│ ▲ stdio │
│ ┌──────────┴──────────┐ │
│ │ MCP Server (Node) │ │
│ │ 3 registered tools│ │
│ └──────┬──────────────┘ │
│ ┌───────────┬┼──────────────┐ │
│ ▼ ▼▼ ▼ │
│ ┌──────────┐ ┌───────────┐ ┌──────────────┐ │
│ │ Apify │ │ Groq │ │ Embeddings │ │
│ │ Scraping│ │ LLM │ │ API │ │
│ └────┬─────┘ └─────┬─────┘ └──────┬───────┘ │
│ └──────────────┬┘──────────────┘ │
│ ▼ │
│ ┌─────────────────┐ │
│ │ Supabase │ │
│ │ (Postgres + │ │
│ │ pgvector) │ │
│ └─────────────────┘ │
└───────────────────────────────────────────────────────────┘Data Flow
collect_profile — Scrapes LinkedIn + Twitter via Apify → merges data → generates embedding → stores in Supabase
analyze_profile — Fetches stored profile → calls Groq LLM for strategic analysis → caches result
fetch_personalized_news — Checks cache freshness → if stale: generates search queries → scrapes Google News → embeds articles → ranks by cosine similarity → summarizes with Groq → stores; if fresh: returns cached articles
Caching & Cost Optimization
Operation | Cost | When It Runs |
LinkedIn/Twitter scraping | High | Only on profile creation |
Groq profile analysis | Medium | Once per profile (cached) |
Google News + embeddings | High | Only when news > 24h stale |
Read cached articles | Free | Every subsequent request |
The fetch_history table tracks last_profile_scrape and last_news_fetch timestamps. The staleCheck.js module compares these against configurable thresholds.
Related MCP server: FundzWatch MCP Server
Setup
1. Prerequisites
Node.js 20+
Supabase project (with pgvector enabled)
API keys: Apify, Groq, OpenAI-compatible Embeddings
2. Install
cd /Users/praveenkumar/Desktop/mcp
cp .env.example .env
# Edit .env with your real keys
npm install3. Database
Run the migration against your Supabase SQL Editor:
-- Paste contents of migrations/001_init.sqlOr via psql:
psql $DATABASE_URL < migrations/001_init.sql4. Run MCP Server
node src/index.js5. Configure MCP Client
Add to your MCP client config (e.g., Claude Desktop claude_desktop_config.json):
{
"mcpServers": {
"founder-intelligence": {
"command": "node",
"args": ["/Users/praveenkumar/Desktop/mcp/src/index.js"],
"env": {
"SUPABASE_URL": "...",
"SUPABASE_SERVICE_KEY": "...",
"APIFY_API_TOKEN": "...",
"GROQ_API_KEY": "...",
"EMBEDDING_API_URL": "...",
"EMBEDDING_API_KEY": "..."
}
}
}
}6. Background Worker (Optional)
# Single run (for cron)
node src/backgroundWorker.js
# Daemon mode
BACKGROUND_LOOP=true node src/backgroundWorker.jsCron example (every 6 hours):
0 */6 * * * cd /app && node src/backgroundWorker.js >> /var/log/worker.log 2>&1Project Structure
/Users/praveenkumar/Desktop/mcp/
├── migrations/
│ └── 001_init.sql
├── src/
│ ├── db/
│ │ └── supabaseClient.js
│ ├── services/
│ │ ├── apifyService.js
│ │ ├── embeddingService.js
│ │ └── llmService.js
│ ├── tools/
│ │ ├── collectProfile.js
│ │ ├── analyzeProfile.js
│ │ └── fetchPersonalizedNews.js
│ ├── utils/
│ │ ├── similarity.js
│ │ └── staleCheck.js
│ ├── backgroundWorker.js
│ └── index.js
├── .env.example
├── .gitignore
├── .dockerignore
├── Dockerfile
├── package.json
└── README.mdDocker Deployment
Build & Run
docker build -t founder-intelligence-mcp .
docker run --env-file .env founder-intelligence-mcpBackground Worker Container
docker run --env-file .env founder-intelligence-mcp node src/backgroundWorker.jsDocker Compose (production)
version: '3.8'
services:
mcp-server:
build: .
env_file: .env
stdin_open: true
restart: unless-stopped
worker:
build: .
env_file: .env
command: ["node", "src/backgroundWorker.js"]
environment:
- BACKGROUND_LOOP=true
restart: unless-stoppedScaling Strategy
Component | Strategy |
MCP Server | One instance per client (stdio-based) |
Background Worker | Single instance or Cloud Run Job on schedule |
Supabase | Connection pooling via Supavisor; read replicas for scale |
Apify | Concurrent actor runs (up to account limit) |
Embeddings | Batch requests (20 per call) to reduce round trips |
Groq | Rate-limit aware with retry-after header handling |
For high-profile-count deployments:
Move background worker to a Cloud Run Job triggered by Cloud Scheduler
Use Supabase Edge Functions for scheduled refresh
Add a Redis cache layer for hot profile lookups
Security Best Practices
Service-role key only on server side — never expose to clients
All secrets via environment variables — no hardcoded keys
Non-root Docker user —
mcpuser in containerInput validation — Zod schemas on all tool inputs
Row Level Security — enable RLS on Supabase tables for multi-tenant
API token rotation — rotate Apify, Groq, and embedding keys periodically
Rate limiting — built-in retry logic with exponential backoff
No PII logging — profile data stays in Supabase, not console
Cost Optimization
Service | Cost Driver | Mitigation |
Apify | Actor compute units | Scrape only on creation; cache results |
Groq | Token usage | Analyze once (cached); batch news summaries |
Embeddings | API calls | Batch 20 at a time; embed once per article |
Supabase | Row count + storage | Deduplicate articles by URL; prune old articles |
Expected cost per profile lifecycle:
Initial setup: ~$0.05–0.15 (scrape + embed + analyze)
Daily news refresh: ~$0.02–0.08 (scrape + embed + summarize top 10)
Cached reads: $0.00
Future Improvement Roadmap
HTTP/SSE transport — support remote MCP clients over HTTP
Multi-tenant profiles — user-scoped access with RLS
Real-time alerts — push notifications when high-relevance news drops
Competitor tracking — dedicated tool to monitor named competitors
Founder network graph — map connections between analyzed founders
Custom embedding models — fine-tuned models for startup/VC domain
Article full-text extraction — deep content scraping for richer embeddings
A/B prompt testing — experiment with different Groq prompts for analysis quality
Dashboard UI — web interface for browsing intelligence feeds
Webhook integrations — push intelligence to Slack, email, or CRM
Available Tools
3 toolsanalyze_profileA
Analyze a founder's profile using Groq LLM to extract strategic intelligence: interests, industry tags, market positioning, competitors, pain points, and growth opportunities. Returns cached analysis if available.
Inputs: profile_id (required).
collect_profileA
Collect a founder's profile by scraping LinkedIn and Twitter via Apify, merge all data, generate an embedding, and store it in Supabase. Returns the profile_id for subsequent analysis.
Inputs: linkedin_url, twitter_url, business_idea.
fetch_personalized_newsA
Fetch personalized, strategically-relevant news for a founder. Checks cache freshness first — returns stored articles if <24h old. Otherwise scrapes Google News via Apify, ranks by cosine similarity, summarizes with Groq, and stores results.
Inputs: profile_id (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 3 tools
Each tool has a clearly distinct purpose: analyze_profile extracts intelligence from a profile, collect_profile scrapes and stores profile data, and fetch_personalized_news retrieves and processes news. There is no overlap in functionality, making it easy for an agent to select the right tool.
All tool names follow a consistent verb_noun pattern (analyze_profile, collect_profile, fetch_personalized_news), using snake_case throughout. The verbs (analyze, collect, fetch) are distinct and appropriately descriptive for their actions.
With 3 tools, the server is well-scoped for its purpose of founder intelligence, covering profile collection, analysis, and news personalization. However, it feels slightly thin as it lacks tools for updating or deleting data, which might be needed for a complete lifecycle.
The tools cover the core workflows of collecting, analyzing, and fetching news for founder profiles, with no dead ends. A minor gap exists in lacking update or deletion operations for profiles or cached data, but agents can work around this for most use cases.
Related MCP Connectors
Pre-diligence AI for founders, investors, and firms — multi-agent pitch analysis and deal flow.
Funding rounds, AI startup and investor search, email discovery, agent-readiness. No API key.
Company and market intelligence, news, enrichment, and agentic workflows for dealmakers.
Founder go-to-market guides, direct answers and sourced LinkedIn, Reddit and AI search statistics.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables detection and analysis of pre-public product launches through web search, content extraction, AI-powered scoring, and automated alerting. Provides comprehensive tools for surfacing stealth startup signals before they trend publicly.MIT
- AlicenseAqualityCmaintenanceProvides real-time business event intelligence and AI-scored sales leads to help users track funding rounds, acquisitions, and executive hires. It enables AI agents to generate strategic market briefs and manage company watchlists for predictive business insights.750 npm3MIT
- AlicenseBqualityDmaintenanceAgentic pipeline that transforms ideas to revenue — for solo founders and bootstrappers.4521 npm4MIT
- AlicenseAqualityDmaintenanceProvides Hacker News tools with founder-research features for analyzing Show HN launches, Ask HN discussions, and extracting startup insights.14MIT