Getting Started with SpecThis
Create structured plans for AI coding agents, monitor code health, and integrate with your development workflow
What is SpecThis?
SpecThis is a development platform that helps engineering teams work more effectively with AI coding agents. It provides three core capabilities:
Structured Plans
Create detailed specifications with work items and file-level changes that AI coding agents can consume directly. Plans give agents the context they need to produce accurate, consistent code on the first pass.
Code Intelligence
Automated scanning analyzes your codebase across 7 metrics including complexity, file size, and symbol count. Configurable alerts notify you when code exceeds your thresholds, and a dashboard tracks trends over time.
MCP Integration
Add SpecThis MCP in Claude Code or Cursor, pointing at https://app.specthis.ai/api/mcp. The HTTP server exposes plan and repository tools so agents can read and write plans from your existing workflow. Scans run in the UI, CLI, or GitHub — not through MCP.
Quick Start
Get up and running in six steps:
Sign Up
Create your account at app.specthis.ai. Every account starts on the free Hobby tier — no credit card required.
Connect GitHub
Install the SpecThis GitHub App on your repositories from your organization settings. This enables code scanning and repository-aware planning.
Add SpecThis MCP
In Claude Code or Cursor, add SpecThis MCP pointing at https://app.specthis.ai/api/mcp. See the MCP Setup guide for the exact commands. There is no mcp command on the SpecThis CLI.
Create Your First Plan
Ask your AI agent to create a plan for a feature you are working on. The agent uses MCP tools to create the plan, add work items, and specify file changes — giving you a structured specification you can review before implementation begins.
Run a Scan
Run npx spec-this scan (@spec-this/cli@1.6.1) from your repository, or start a scan in the SpecThis UI / GitHub App. The CLI uploads results to your dashboard automatically. See the CLI setup guide for details.
View Your Dashboard
Your dashboard shows health scores, metric trends with sparklines, and active alerts. Use it to monitor code quality over time and catch regressions early.
Core Features
Plans
Plans are structured specifications that describe what needs to be built. Each plan contains:
- Work items — individual tasks with descriptions, acceptance criteria, and status tracking
- File changes — specific files to create, modify, or delete with detailed instructions
- Plan structure — hierarchical organization of work items for complex features
- Repository links — connect plans to GitHub repositories for context-aware development
Code Intelligence
The scanner analyzes your codebase and tracks 7 metrics:
- complexity_avg — average cognitive complexity across all functions
- complexity_max — maximum single-function complexity score
- complexity_p95 — 95th percentile complexity (top 5% most complex)
- file_count — total number of source files scanned
- total_loc — total logical lines of code across all functions
- symbol_count — number of symbols (functions, classes, methods) found
- alert_count — number of active code alerts by severity
See the Code Metrics overview for detailed explanations of each metric.
MCP Tools
HTTP MCP at https://app.specthis.ai/api/mcp provides 16 tools organized into five groups (plans, work items, changes, repositories, plan structure). It does not run code scans:
Plans
read_plansupsert_plandelete_plan
Work Items
read_work_itemsupsert_work_itemdelete_work_item
Changes
read_changesupsert_changedelete_change
Repositories
read_repositoriesread_plan_repositorieslink_plan_repositoryunlink_plan_repository
Plan Structure
read_plan_structureupsert_plan_structure_itemdelete_plan_structure_item
Dashboard
The dashboard provides a real-time view of your codebase health. It includes repository health scores, metric sparklines showing trends, active alert counts by severity, and historical comparisons so you can see whether code quality is improving or declining over time.
Plan Tiers
Hobby
$0 / forever
- Unlimited plans and work items
- Code scanning via CLI or GitHub Actions
- 10 scans per day
- 250 MB / 5,000 file repo limit
- 1 month raw data retention
- 7 code metrics with alerts
- Dashboard with basic trends
Pro
$49 / month
- Everything in Hobby, plus:
- Managed scanning via Trigger.dev (we pay compute)
- 100 scans per day
- 1 GB / 50,000 file repo limit
- 1 year raw + weekly aggregates
- Monthly aggregates retained forever
- Advanced dashboard with full trend history