Skip to main content
Glama

githubSearchIssues

Search GitHub issues by keywords, state, labels, or repository to find bug reports, feature requests, and discussions. Filter by author, assignee, or interaction metrics for precise issue tracking and analysis.

Instructions

Search GitHub issues for bug reports, feature requests, and discussions. Find issues by keywords, state, labels, author, or repository. Returns issue details including body content for effective issue tracking and analysis.

TOKEN OPTIMIZATION

  • Issue body content is expensive in tokens. Use only when necessary.

  • Use specific queries and filters to reduce result count

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
appNoGitHub App that created the issue
archivedNoInclude archived repositories
assigneeNoGitHub username of assignee
authorNoGitHub username of issue creator
closedNoWhen closed. Format: ">2020-01-01" (after), ">=2020-01-01" (on or after), "<2023-12-31" (before), "2020-01-01..2023-12-31" (range)
commenterNoUser who commented on issue
commentsNoComment count filter. Format: ">10" (many comments), ">=5" (at least 5), "<5" (few comments), "5..10" (range), "10" (exact)
createdNoWhen created. Format: ">2020-01-01" (after), ">=2020-01-01" (on or after), "<2023-12-31" (before), "2020-01-01..2023-12-31" (range)
include-prsNoInclude pull requests. Default: false
interactionsNoTotal interactions (reactions + comments) filter. Format: ">100" (highly engaged), ">=50" (moderately engaged), "<20" (low engagement), "50..200" (range)
involvesNoUser involved in any way
labelNoLabel names. Can be single string or array.
languageNoRepository language
limitNoResults limit (1-50). Default: 25
lockedNoConversation locked status
matchNoSearch scope. Default: title and body. WARNING: "body" and "comments" are EXTREMELY expensive in tokens as they include full issue content and all comments.
mentionsNoIssues mentioning this user
milestoneNoMilestone name
no-assigneeNoIssues without assignee
no-labelNoIssues without labels
no-milestoneNoIssues without milestone
no-projectNoIssues not in projects
orderNoSort order. Default: descdesc
ownerNoRepository owner/organization name only (e.g., "facebook", "microsoft"). Do NOT include repository name. Must be used with repo parameter for repository-specific searches.
projectNoProject board number
queryYesSearch terms. Start simple: "error", "crash". Use quotes for exact phrases.
reactionsNoReaction count filter. Format: ">10" (popular), ">=5" (some reactions), "<50" (moderate), "5..50" (range), "10" (exact)
repoNoRepository name only (e.g., "react", "vscode"). Do NOT include owner prefix. Must be used together with owner parameter.
sortNoSort by activity or reactions. Default: best match
stateNoIssue state. Default: all
team-mentionsNoTeam mentioned in issue (@org/team-name)
updatedNoWhen updated. Format: ">2020-01-01" (after), ">=2020-01-01" (on or after), "<2023-12-31" (before), "2020-01-01..2023-12-31" (range)
visibilityNoRepository visibility

Other Tools

Related Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/bgauryy/octocode-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server