Skip to main content
API reference →
Context API · AI agents · MCP

What is a GitHub Org Context API?

July 29, 2026 · 6 min read

A GitHub Org Context API turns your entire organization — every repo, owner, dependency, and review — into structured, LLM-ready context an AI agent can query in a single call. It’s the layer between raw GitHub data and the agents that need to actually understand your codebase.

Why the raw GitHub API isn’t enough

Agents are only as good as their context. The GitHub REST and GraphQL APIs return events and objects — commits, pull requests, files — not understanding. To answer “who owns the auth service?” or “what breaks if I change lib/db?”, an agent has to pull thousands of commits, blame every file, reconstruct the review graph, and stitch it all together — on every request.

What “org context” actually means

A context API pre-computes the relationships and serves them as clean, cited JSON. EOS exposes six context surfaces over one org-scoped API:

Context, not raw events

The difference is pre-computation and relationships. Instead of crawling to guess who owns a path, an agent asks once:

curl "https://eos.dev/api/v1/context/ownership?repo=acme/app&path=services/auth" \
  -H "Authorization: Bearer eos_your_key"

— and gets ranked owners with evidence and citations. No crawl, no rate-limit math, no reconstruction. The API models the organization — people, ownership, dependencies, flow — not just the text of your code. That’s the line between a context API and a RAG-over-repo tool: RAG returns text chunks; a context API returns the org.

Built for agents: MCP and SDKs

The fastest way to give an agent org context is the official MCP server — every surface becomes a native tool, with zero glue code:

{
  "mcpServers": {
    "eos": {
      "command": "npx",
      "args": ["-y", "@eos-ai/mcp-server"],
      "env": { "EOS_API_KEY": "eos_your_key" }
    }
  }
}

Prefer code? The TypeScript SDK wraps every surface with types:

import { EosClient } from "@eos-ai/sdk";

const eos = new EosClient({ apiKey: process.env.EOS_API_KEY });
const { data } = await eos.context.ownership({ repo: "acme/app", path: "services/auth" });

And webhooks push context-change events, so your agents always call fresh context.

Who it’s for

Coding assistants are customers, not competitors. A GitHub Org Context API is the picks-and-shovels layer beneath everyone’s agents — the context they all need and none want to rebuild.

Start in minutes

The free tier includes the full context surface and the MCP server — 5,000 context requests a month, no credit card. Grab a key, drop in the MCP server or the SDK, and make your first call. The developer overview walks through it end to end.

Give your agents the context of your entire GitHub org.
Free tier: 5,000 context requests every month, no credit card.