Software
Data source: GitHub API
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"}}}'
REST API
API Root
https://context.gnist.ai/rest/github/
5 endpoints available:
GET /rest/github/search_reposGET /rest/github/get_readmeGET /rest/github/list_open_issuesGET /rest/github/get_repo_statsGET /rest/github/report_feedback
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())
Command Line
Command
gc github
CLI documentation will be available when the GnistAI SDK is published.
Install
pip install gnistai
Available Tools (5)
search_reposSearch public GitHub repositories by keyword.
| Parameter | Type | Required | Description |
|---|---|---|---|
query | string | required | Search terms (e.g. "machine learning framework", "http client"). |
language | any | optional | Filter by programming language (e.g. "python", "typescript"). Optional. |
stars_min | any | optional | Minimum star count filter (e.g. 100). Optional. |
get_readmeFetch and decode the README for a GitHub repository.
| Parameter | Type | Required | Description |
|---|---|---|---|
owner | string | required | Repository owner (user or org), e.g. "fastapi". |
repo | string | required | Repository name, e.g. "fastapi". |
list_open_issuesList open issues for a public GitHub repository.
| Parameter | Type | Required | Description |
|---|---|---|---|
owner | string | required | Repository owner (user or org), e.g. "django". |
repo | string | required | Repository name, e.g. "django". |
labels | any | optional | Filter by label names (e.g. ["bug", "help wanted"]). Optional. |
get_repo_statsGet metadata and statistics for a specific public GitHub repository.
| Parameter | Type | Required | Description |
|---|---|---|---|
owner | string | required | Repository owner (user or org), e.g. "astral-sh". |
repo | string | required | Repository name, e.g. "ruff". |
report_feedbackReport a bug, feature request, or general feedback for this data source.
| Parameter | Type | Required | Description |
|---|---|---|---|
feedback | string | required | |
feedback_type | string | optional | (default: "general") |