Home · MCP servers · GitHub

GitHub MCP server

Public repositories, users and repository search. Add one address to your AI assistant and it can call the 3 tools below itself, with your FoxAPIs key. They cost the same credits as the REST API, and an answer with no data is not charged.

Server address

https://foxapis.com/mcp/data/github

Streamable HTTP, bearer key in the Authorization header. This address carries only the GitHub tools; https://foxapis.com/mcp/data carries all of them, and ?source=github,github picks several.

What you can ask

Five prompts to give your assistant once the server is added:

  1. How many stars and open issues does https://github.com/vercel/next.js have, and when was it last updated?
  2. Search GitHub for rate limiting libraries and list the top matches.
  3. Look up the GitHub user torvalds and tell me how many public repositories they have.
  4. Is https://github.com/torvalds/linux archived, and which licence and language does it use?
  5. Find GitHub repositories about web scraping APIs and show how many there are.

The tools your assistant gets

ToolWhat it returnsInputsCredits a call
github_repoStars, forks, open issues, language, licence, topics and dates for a public GitHub repository, from its link.url (required)1
github_userA public GitHub profile: followers, repositories, bio and account age, from the user name.user_id (required)1
github_searchSearch GitHub for repositories, users or code by keyword; returns the total and the top matches.query (required), search_type1

Credits come from the same file as the pricing page. Plans and top-ups are on pricing.

Set it up

Use your FoxAPIs key (it starts with fxp_) as the bearer token. Get one free at foxapis.com/trial.

Claude Code

Run in a terminal. Its docs.

claude mcp add --transport http foxapis-data https://foxapis.com/mcp/data/github \
  --header "Authorization: Bearer YOUR_KEY"

The Claude Code docs show this form (--transport http, name, URL, --header) for a server that takes a bearer token.

Cursor

.cursor/mcp.json in a project, or ~/.cursor/mcp.json for every project. Its docs.

{
  "mcpServers": {
    "foxapis-data": {
      "url": "https://foxapis.com/mcp/data/github",
      "headers": {
        "Authorization": "Bearer YOUR_KEY"
      }
    }
  }
}

Cursor's remote-server example uses a url and a headers object.

VS Code (Copilot)

.mcp.json at the workspace root, or ~/.copilot/mcp-config.json. Its docs.

{
  "mcpServers": {
    "foxapis-data": {
      "type": "http",
      "url": "https://foxapis.com/mcp/data/github",
      "headers": {
        "Authorization": "Bearer YOUR_KEY"
      },
      "tools": [
        "*"
      ]
    }
  }
}

Do not store a real key in a file you share.

Cline

cline_mcp_settings.json (open it from Cline's MCP Servers panel). Its docs.

{
  "mcpServers": {
    "foxapis-data": {
      "type": "streamableHttp",
      "url": "https://foxapis.com/mcp/data/github",
      "headers": {
        "Authorization": "Bearer YOUR_KEY"
      },
      "disabled": false,
      "autoApprove": []
    }
  }
}

Cline's docs say that leaving type out selects the older SSE transport, so keep type.

Zed

settings.json (Zed: open settings). Its docs.

{
  "context_servers": {
    "foxapis-data": {
      "url": "https://foxapis.com/mcp/data/github",
      "headers": {
        "Authorization": "Bearer YOUR_KEY"
      }
    }
  }
}

n8n

an MCP Client Tool node in a workflow. Its docs.

Endpoint: https://foxapis.com/mcp/data/github
Server transport: HTTP Streamable
Authentication: Header Auth
  Name: Authorization
  Value: Bearer YOUR_KEY

Not run by us: the fields are the ones n8n's MCP Client Tool documents. The server speaks Streamable HTTP.

Claude Desktop and ChatGPT

Not covered here: their custom-connector screens ask for sign-in (OAuth) or no authentication, and this server takes a bearer key in a header, so it works best in the clients above. We have not tested it in either.

A real answer

The github_repo tool called once through a real MCP client session on 20 November 2026 with the input {"url":"https://github.com/torvalds/linux"}. Long text is cut and lists are cut to three items for display; it is not invented.

{
  "url": "https://github.com/torvalds/linux",
  "platform": "github",
  "extracted_at": "2026-11-20T11:13:25.121190+00:00",
  "title": "torvalds/linux",
  "description": "Linux kernel source tree",
  "author_name": "torvalds",
  "author_url": "https://github.com/torvalds",
  "author_avatar": "https://avatars.githubusercontent.com/u/1024025?v=4",
  "published_at": "2011-09-04T22:48:12Z",
  "modified_at": "2026-11-20T11:07:06Z",
  "date_source": "github_api",
  "likes": 256184,
  "views": 256184,
  "thumbnail_url": "https://opengraph.githubassets.com/1/torvalds/linux",
  "content_type": "repository",
  "extras": {
    "forks": 67559,
    "open_issues": 3,
    "language": "C",
    "license": "NOASSERTION",
    "size_kb": 6470225,
    "default_branch": "master",
    "has_wiki": false,
    "has_pages": false,
    "archived": false,
    "last_push": "2026-11-19T22:24:51Z",
    "stars": 256184,
    "subscribers": 8552
  },
  "credits_used": 1,
  "latency_ms": 250
}

Charged: 1 credit.

Try it free

Runs the github_repo call with the sample input below. No key and no sign-up; a few runs a day per visitor.

{
  "url": "https://github.com/torvalds/linux"
}

Other data-source MCP servers

Hacker News · Stack Overflow · Hugging Face · PubMed · bioRxiv · ClinicalTrials.gov · all of them

Free to start: 100 credits, no card. Then from $10. Credits you buy never expire.

Get my free key

The same data over REST: GitHub repository · GitHub user · GitHub search. More: all MCP servers · people and company tools