Discover and scaffold new apps by reusing code from your GitHub repositories.
An AI-powered code intelligence platform that scans your GitHub repositories and discovers what applications you can build by combining existing files and components.
app/
├── api/ # API Routes
│ ├── auth/github/callback/ # GitHub App callback
│ ├── github/repos/ # Fetch user's GitHub repos
│ ├── github/create-repo/ # Create repo from blueprint
│ ├── repositories/ # Repository CRUD
│ ├── analyses/ # Analysis management
│ │ └── [id]/
│ │ ├── run/ # Run analysis (SSE stream)
│ │ └── analyze/ # AI analysis endpoint
│ └── export/
│ ├── blueprint/ # Export blueprint as JSON
│ └── pdf/ # Export blueprint as PDF
├── dashboard/ # Dashboard pages
│ ├── layout.tsx # Dashboard layout
│ ├── page.tsx # Overview
│ ├── repositories/ # Repository management
│ └── analyses/ # Analysis pages
│ └── [id]/ # Analysis detail
components/
├── repositories-list.tsx # Repository list + add form
├── repository-selector.tsx # Multi-repo selector
├── analyses-list.tsx # Analyses list
├── analysis-detail.tsx # Analysis results + blueprints
├── app-suggestions.tsx # App idea cards
└── ui/ # Shadcn components
lib/
├── db.ts # Neon database client
├── queries.ts # Database queries
└── utils.ts # Utility functions
scripts/
└── 01-create-schema.sql # Database migration
github_id: Unique GitHub user IDgithub_username: GitHub login namegithub_avatar_url: Profile picture URLaccess_token: GitHub user access tokenstripe_customer_id: Stripe customer linked to the userstripe_subscription_id: Active or latest Stripe subscription idstripe_price_id: Stripe price id for the user’s current planplan_tier: free / prosubscription_status: Stripe subscription statusgithub_id: Unique GitHub repo IDname, full_name: Repo name and owner/namedescription, url: Metadatadefault_branch, language, stars: Additional inforepository_id: Foreign key to repositoriespath, name, extension: File location infofile_type: component / hook / utility / api / page / etc.purpose, ai_summary: AI-generated descriptionstechnologies, exports, imports: Detected patterns (JSONB)reusability_score: 0–100 reusability ratingname: User-defined analysis namestatus: pending / scanning / analyzing / complete / failedtotal_files, analyzed_files: Progress trackinganalysis_id: Foreign key to analysesname, description, app_type: Blueprint infocomplexity: simple / moderate / complexreuse_percentage: How much existing code can be reusedexisting_files, missing_files: File lists (JSONB)estimated_effort: Human-readable time estimatetechnologies: Detected stack (JSONB)ai_explanation: AI-written rationalegit clone <repository-url>
cd repofuse-backend
pnpm install
.env.example to .env.local and fill in your values:cp .env.example .env.local
psql $DATABASE_URL -f scripts/01-create-schema.sql
pnpm dev
This repo now includes a standalone stdio MCP server at mcp/repofuse.mjs.
list_github_repositoriesanalyze_repositoriesgenerate_scaffoldcreate_repo_from_blueprintget_blueprint_gapsThe MCP server expects:
GITHUB_TOKENAI_GATEWAY_API_KEY or VERCEL_OIDC_TOKEN, otherwise ANTHROPIC_API_KEYREPOFUSE_MODEL (anthropic/claude-sonnet-4.6), REPOFUSE_MAX_FILES_PER_REPO, REPOFUSE_MAX_BLUEPRINTSpnpm mcp:repofuse
pnpm mcp:test
Use the live variant when you want to verify startup with real credentials:
pnpm mcp:test:live
RepoFuse exposes an OAuth-protected Streamable HTTP endpoint at
https://repofuse.com/api/mcp. It supports external assistants and authenticated web-app sessions,
resolves GitHub access server-side, and enforces account plan, credit, and rate limits.
Connection instructions: https://repofuse.com/mcp.
See examples/claude-desktop.mcp.json.
See examples/cursor.mcp.json.
See .cursor-plugin/plugin.json and the root mcp.json.
See docs/MCP_SETUP.md and docs/LISTING.md.
GET /api/auth/github/callback - GitHub App callbackGET /api/repositories - List tracked repositoriesPOST /api/repositories - Add repository by URLGET /api/repositories/[id] - Get repository detailsDELETE /api/repositories/[id] - Remove repositoryGET /api/github/repos - Fetch repos available to the signed-in GitHub App userPOST /api/github/create-repo - Create new repo from blueprint (Pro)GET /pricing - Pricing pageGET /api/checkout?plan=pro - Start Stripe checkout for ProGET /api/checkout/success - Finalize successful checkout and sync subscriptionGET /api/billing/portal - Open Stripe billing portalGET /api/analyses - List analysesPOST /api/analyses - Create new analysisPOST /api/analyses/[id]/run - Run analysis (Server-Sent Events)POST /api/analyses/[id]/analyze - AI pattern analysisPOST /api/export/blueprint - Export blueprint as JSONPOST /api/export/pdf - Export blueprint as PDF.env.example)
STRIPE_SECRET_KEY and STRIPE_PRO_PRICE_IDMIT License
This listing does not have a supported local package template. Use the maintainer’s documentation for its hosted endpoint, authentication, and client-specific setup. No install command has been inferred.