PerSQL / GitHub

A SQL view of every repo your agent works on.

Install the PerSQL GitHub App. We mirror PRs, commits, contributors, and issues into a per-repo SQLite database. Your AI coding agent queries it directly through MCP.

Pulls live data via the GitHub App. Free to connect — pay only when your agent queries.

cursor / claude / claude code
> Which PRs touched apps/api/src/auth.ts in the last month?

agent: querying github.persql.com/mcp...

SELECT number, title, author_login, merged_at
FROM pulls
WHERE updated_at > strftime('%s', 'now', '-30 days') * 1000
ORDER BY updated_at DESC;

#387  Cross-subdomain auth cookies      @atul   2026-05-24
#382  Drop email_verified shadow col   @atul   2026-05-22
#378  Better-Auth 1.6 bump             @atul   2026-05-19
Live repo data

repo_meta, pulls, commits, contributors, issues — re-crawl on demand.

Agent-native MCP

Three tools at github.persql.com/mcp: repo_list_installed, repo_summary, repo_recrawl.

Per-repo isolation

Each repo gets its own SQLite database (gh-<owner>-<name>). Branches per environment included.

Raw SQL too

The per-repo databases are first-class PerSQL DBs. Query them with the SDK, CLI, or mcp.persql.com.

Usage-only pricing

Five meters, prepaid balance. Connect is free; you pay only when your agent reads or writes.

Works everywhere

Any MCP client: Cursor, Claude Desktop, Claude Code, Cline, Continue. Bearer-auth, same as the rest of PerSQL.