Call it
curl https://api.peume.com/v1/call/github-issue-and-pr-search \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"query": "your query",
"limit": 100,
"page": 1
}
}'const res = await fetch("https://api.peume.com/v1/call/github-issue-and-pr-search", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"query": "your query",
"limit": 100,
"page": 1
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/github-issue-and-pr-search",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"query": "your query",
"limit": 100,
"page": 1
}
},
)
print(res.json()["output"])Answer: {"id": "run_…", "status": "completed", "cost_usd": …, "output": {…}}. Long jobs answer 202 with a run id to read later. From an AI agent, connect the MCP server and ask for this by name: github-issue-and-pr-search.
Parameters
routestringUpstream source to run on; omit for "chameleon". chameleon ($0.0024 per call, 99.3% uptime).
chameleon
queryRequiredstringGitHub issue search query with any of GitHub's qualifiers, e.g. "repo:openai/whisper is:pr", "is:issue label:bug author:octocat", "repo:ggml-org/llama.cpp is:pr is:merged created:>2026-01-01".
limitintegerRows per page, 1-100 (GitHub's own page-size limit). Keep it the same while walking pages, because it sets the page size.
Example: 100
pageinteger1-based page of results. Request page + 1 while hasMore is true.
Example: 1
sortstringSort by number of comments, creation date, last update, or reactions. Omit for best match.
comments · created · updated · reactions
orderstringSort direction when sort is set. Defaults to desc.
desc · asc
