SpendScope is an AI spend optimization platform that helps startups and small teams analyze their AI tooling costs, identify overspending, and discover realistic savings opportunities. Users can audit tools like ChatGPT, Claude, Cursor, GitHub Copilot, and Gemini based on pricing benchmarks, seat counts, and the spend figures they provide—no live billing connection in this MVP.
The platform generates actionable recommendations, estimated monthly and annual savings, downloadable reports, public shareable audit links, and email-delivered audit summaries. The goal is to make AI cost optimization simple, transparent, and financially defensible for growing teams.
Deployed URL:
https://spend-scope-murex.vercel.app/
- AI spend audit engine
- Benchmark-based pricing analysis
- Overspending detection
- Tool and plan optimization recommendations
- Monthly and annual savings estimation
- Shareable public audit reports
- Email delivery of audit reports
- Downloadable audit reports
- Responsive modern SaaS UI
- Supabase-backed audit persistence
- ChatGPT
- Claude
- Cursor
- GitHub Copilot
- Gemini (Google AI)
- Next.js 15
- TypeScript
- Tailwind CSS
- Supabase
- Resend
- Vercel
git clone https://github.com/your-username/SpendScope.git
cd SpendScopenpm installCreate a .env.local file:
NEXT_PUBLIC_SUPABASE_URL=
NEXT_PUBLIC_SUPABASE_PUBLISHABLE_KEY=
# Server-only (required for GET /api/detect-changes). Never use a NEXT_PUBLIC_ prefix.
SUPABASE_SERVICE_ROLE_KEY=
RESEND_API_KEY=
# Resend test mode: sends from onboarding@resend.dev (see lib/email/resend-from.ts).
# After domain verification, set RESEND_FROM_EMAIL=SpendScope <noreply@spendscope.site> on Vercel
# and flip USE_RESEND_TEST_SENDER to false in resend-from.ts.
# AI executive summary (optional — if unset, the API falls back to a deterministic paragraph)
GEMINI_API_KEY=
NEXT_PUBLIC_APP_URL=http://localhost:3000npm run devVisit:
http://localhost:3000
The application is deployed using Vercel.
To deploy:
vercelProduction environment variables should be configured inside the Vercel dashboard.
The audit engine evaluates:
- Whether the current plan matches the user's seat count and declared spend
- If a cheaper plan exists from the same vendor
- If a better-value alternative tool exists
- If pricing significantly exceeds expected retail benchmarks
- Potential monthly and annual savings opportunities
Recommendations are benchmark-driven and designed to feel financially realistic rather than exaggerated.
For MVP simplicity, SpendScope currently uses unrestricted Supabase access for audit creation and retrieval through public share IDs.
The application avoids exposing sensitive information in public reports by stripping identifying details from shared audit views.
In a production deployment, the next step would be enabling stricter Row Level Security (RLS) policies, authenticated ownership checks, signed share tokens, and stronger rate limiting.
This tradeoff was intentionally made to prioritize rapid iteration and frictionless report sharing during the MVP stage.
Each completed audit generates:
- a unique public report URL
- downloadable report support
- email-delivered summaries
Example:
/audit/[share_id]
This keeps recommendations transparent, explainable, and financially defensible.
Supabase accelerated development speed while still supporting scalable storage and public sharing functionality.
Authentication was intentionally skipped to keep the MVP frictionless and focused on audit delivery.
Direct billing integrations would significantly increase complexity and implementation time for the MVP.
This simplified the email flow and improved development speed while still delivering a professional user experience.
- Live billing integrations
- AI-generated optimization explanations
- Team collaboration dashboards
- Historical audit tracking
- Smarter usage analytics
- Enterprise reporting workflows
Somesh Bharathi


















