GnistAI GnistAI
Log in

GitHub

Public GitHub data — repositories, issues, pull requests, and user profiles.

Overview   |   MCP Docs   |   API Docs   |   OpenAPI   |   Playground   |   Tutorial   |   Toolkits   |   Home
status: healthy status status healthy healthy tools: 5 tools tools 5 5 Software

Data source: GitHub API

MCP MCP Protocol

Endpoint https://context.gnist.ai/mcp/github/
claude_desktop_config.json
{
  "mcpServers": {
    "gnist-github": {
      "url": "https://context.gnist.ai/mcp/github/",
      "headers": {
        "Gnist-API-Key": "YOUR_API_KEY"
      }
    }
  }
}
Shell
curl -X POST "https://context.gnist.ai/mcp/github/" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -H "Gnist-API-Key: YOUR_API_KEY" \
  -d '{"jsonrpc": "2.0", "method": "tools/call", "id": 1, "params": {"name": "search_repos", "arguments": {"query": "example"}}}'

API REST API

API Root https://context.gnist.ai/rest/github/

5 endpoints available:

Shell
curl "https://context.gnist.ai/rest/github/search_repos?query=example" \
  -H "Gnist-API-Key: YOUR_API_KEY"
Python
import httpx

resp = httpx.get(
    "https://context.gnist.ai/rest/github/search_repos",
    headers={"Gnist-API-Key": "YOUR_API_KEY"},
    params={
        "query": "example"
},
)
print(resp.json())

OpenAPI Spec  ·  Full API Docs

CLI Command Line

Command gc github

CLI documentation will be available when the GnistAI SDK is published.

Install
pip install gnistai

Available Tools (5)

search_repos
Search public GitHub repositories by keyword.
ParameterTypeRequiredDescription
querystringrequiredSearch terms (e.g. "machine learning framework", "http client").
languageanyoptionalFilter by programming language (e.g. "python", "typescript"). Optional.
stars_minanyoptionalMinimum star count filter (e.g. 100). Optional.
get_readme
Fetch and decode the README for a GitHub repository.
ParameterTypeRequiredDescription
ownerstringrequiredRepository owner (user or org), e.g. "fastapi".
repostringrequiredRepository name, e.g. "fastapi".
list_open_issues
List open issues for a public GitHub repository.
ParameterTypeRequiredDescription
ownerstringrequiredRepository owner (user or org), e.g. "django".
repostringrequiredRepository name, e.g. "django".
labelsanyoptionalFilter by label names (e.g. ["bug", "help wanted"]). Optional.
get_repo_stats
Get metadata and statistics for a specific public GitHub repository.
ParameterTypeRequiredDescription
ownerstringrequiredRepository owner (user or org), e.g. "astral-sh".
repostringrequiredRepository name, e.g. "ruff".
report_feedback
Report a bug, feature request, or general feedback for this data source.
ParameterTypeRequiredDescription
feedbackstringrequired
feedback_typestringoptional (default: "general")

Related