ericc-ch/copilot-api

Turn GitHub Copilot into OpenAI/Anthropic API compatible server. Usable with Claude Code!

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 1 hour ago
Added to GitGenius on September 16th, 2026
Created on January 11th, 2025
Open Issues & Pull Requests: 135 (+0)
GitHub issues: Enabled
Number of forks: 665
Total Stargazers: 4,125 (+0)
Total Subscribers: 16 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 10.0 hours
Mean response time: 6.8 days
90th percentile: 18.4 days
Tracked items: 121

Most active contributors

Sign in to see contributor activity.

How this project is maintained

About 16% of issues opened in the past year have never received a reply. 100% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. 91% of tracked open issues have had no activity in three months, so the open count overstates what is actively being worked. Only 28% of issues opened in the past year have been closed.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 94
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 330 days
Stale 30+ days: 93
Stale 90+ days: 86

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

No label distribution available yet.

Most active issues this week

No issue events were indexed in the last 7 days.

Detailed Description

Copilot API is a server that exposes GitHub Copilot as an OpenAI and Anthropic API-compatible endpoint.

The tool solves the problem of using GitHub Copilot with applications and workflows designed for OpenAI or Anthropic APIs. It works by running a local server that accepts requests in the standard OpenAI and Anthropic API formats, translating them to communicate with GitHub Copilot, and returning responses in the expected format. This allows developers to leverage their existing Copilot subscription with any tool or application that supports these standard API interfaces, including Claude Code.

The project suits developers who already have GitHub Copilot access and want to use it with tools that expect OpenAI or Anthropic-compatible APIs. It is particularly useful for those building applications or integrations that standardize on these API formats but prefer to route requests through Copilot rather than directly to OpenAI or Anthropic services. The approach of reverse-engineering Copilot's communication protocol means users maintain their existing Copilot subscription without needing separate API keys for OpenAI or Anthropic.

The project shows active development with recent commits and ongoing refinement of the API compatibility layer. The codebase is written in TypeScript, indicating a focus on type safety and maintainability for a tool that must precisely match external API specifications. The inclusion of a homepage with usage documentation suggests the maintainers are invested in making the tool accessible to users beyond those reading the source code directly.