Linear API

Track sprint velocity and project health over time

Pull issues, cycles, and project data from Linear. Build burndown charts, track velocity trends, and measure how long issues spend in each state.

Free plan includes full API access. GraphQL API.

Lineardocs →

How it works with Loony

Describe it.
Deploy it.
Query it.

Managed database.

Your Linear data lives in its own Postgres instance. Zero config. Data accumulates over time.

Scheduled syncs.

Cron jobs run on Loony infra. Every minute on free. Your data stays fresh without you thinking about it.

REST + MCP endpoints.

Query from your agent, your dashboard, or connect BI tools directly. Full OpenAPI spec included.

TerminalSchema
$ "Pull all issues and cycles from Linear for the last 6 months. Build a velocity tracker by cycle with estimate vs actual completion rates."

 Schema validated
 Database provisioned
 Scripts deployed
 Schedules registered

Done.

# Your data is now at:
REST  /data/v1/linear/query
MCP   /mcp/v1/linear/mcp
SQL   psql $DATABASE_URL

What you get

Linear shows you the current sprint. Loony stores every sprint, so you can track velocity over months, find patterns in estimation accuracy, and give your agent context on project health.

mv_cycle_velocity
  cycle         text        -- cycle name
  start_date    date        -- cycle start
  planned       integer     -- issues at cycle start
  completed     integer     -- issues done
  carried_over  integer     -- incomplete
  avg_lead_days numeric     -- avg time to close
  accuracy_pct  numeric     -- completed / planned

Even better together

Join Linear sprint data with GitHub PRs to see the full picture: ticket created, code written, PR merged, issue closed. Add Notion for planning context.

Stop gluing. Start shipping.

Describe your data. Deploy. Query. Done.

API Library →