Skip to main content
Glama

Octocode MCP

by bgauryy

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

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

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "app": { "description": "GitHub App that created the issue", "type": "string" }, "archived": { "description": "Include archived repositories", "type": "boolean" }, "assignee": { "description": "GitHub username of assignee", "type": "string" }, "author": { "description": "GitHub username of issue creator", "type": "string" }, "closed": { "description": "When closed. Format: \">2020-01-01\" (after), \">=2020-01-01\" (on or after), \"<2023-12-31\" (before), \"2020-01-01..2023-12-31\" (range)", "pattern": "^(>=?\\d{4}-\\d{2}-\\d{2}|<=?\\d{4}-\\d{2}-\\d{2}|\\d{4}-\\d{2}-\\d{2}\\.\\.\\d{4}-\\d{2}-\\d{2}|\\d{4}-\\d{2}-\\d{2})$", "type": "string" }, "commenter": { "description": "User who commented on issue", "type": "string" }, "comments": { "anyOf": [ { "minimum": 0, "type": "integer" }, { "pattern": "^(>=?\\d+|<=?\\d+|\\d+\\.\\.\\d+|\\d+)$", "type": "string" } ], "description": "Comment count filter. Format: \">10\" (many comments), \">=5\" (at least 5), \"<5\" (few comments), \"5..10\" (range), \"10\" (exact)" }, "created": { "description": "When created. Format: \">2020-01-01\" (after), \">=2020-01-01\" (on or after), \"<2023-12-31\" (before), \"2020-01-01..2023-12-31\" (range)", "pattern": "^(>=?\\d{4}-\\d{2}-\\d{2}|<=?\\d{4}-\\d{2}-\\d{2}|\\d{4}-\\d{2}-\\d{2}\\.\\.\\d{4}-\\d{2}-\\d{2}|\\d{4}-\\d{2}-\\d{2})$", "type": "string" }, "include-prs": { "description": "Include pull requests. Default: false", "type": "boolean" }, "interactions": { "anyOf": [ { "minimum": 0, "type": "integer" }, { "pattern": "^(>=?\\d+|<=?\\d+|\\d+\\.\\.\\d+|\\d+)$", "type": "string" } ], "description": "Total interactions (reactions + comments) filter. Format: \">100\" (highly engaged), \">=50\" (moderately engaged), \"<20\" (low engagement), \"50..200\" (range)" }, "involves": { "description": "User involved in any way", "type": "string" }, "label": { "anyOf": [ { "type": "string" }, { "items": { "type": "string" }, "type": "array" } ], "description": "Label names. Can be single string or array." }, "language": { "description": "Repository language", "type": "string" }, "limit": { "default": 25, "description": "Results limit (1-50). Default: 25", "maximum": 50, "minimum": 1, "type": "integer" }, "locked": { "description": "Conversation locked status", "type": "boolean" }, "match": { "description": "Search scope. Default: title and body. WARNING: \"body\" and \"comments\" are EXTREMELY expensive in tokens as they include full issue content and all comments.", "enum": [ "title", "body", "comments" ], "type": "string" }, "mentions": { "description": "Issues mentioning this user", "type": "string" }, "milestone": { "description": "Milestone name", "type": "string" }, "no-assignee": { "description": "Issues without assignee", "type": "boolean" }, "no-label": { "description": "Issues without labels", "type": "boolean" }, "no-milestone": { "description": "Issues without milestone", "type": "boolean" }, "no-project": { "description": "Issues not in projects", "type": "boolean" }, "order": { "default": "desc", "description": "Sort order. Default: desc", "enum": [ "asc", "desc" ], "type": "string" }, "owner": { "description": "Repository owner/organization name only (e.g., \"facebook\", \"microsoft\"). Do NOT include repository name. Must be used with repo parameter for repository-specific searches.", "minLength": 1, "type": "string" }, "project": { "description": "Project board number", "type": "string" }, "query": { "description": "Search terms. Start simple: \"error\", \"crash\". Use quotes for exact phrases.", "minLength": 1, "type": "string" }, "reactions": { "anyOf": [ { "minimum": 0, "type": "integer" }, { "pattern": "^(>=?\\d+|<=?\\d+|\\d+\\.\\.\\d+|\\d+)$", "type": "string" } ], "description": "Reaction count filter. Format: \">10\" (popular), \">=5\" (some reactions), \"<50\" (moderate), \"5..50\" (range), \"10\" (exact)" }, "repo": { "description": "Repository name only (e.g., \"react\", \"vscode\"). Do NOT include owner prefix. Must be used together with owner parameter.", "type": "string" }, "sort": { "description": "Sort by activity or reactions. Default: best match", "enum": [ "comments", "created", "interactions", "reactions", "reactions-+1", "reactions--1", "reactions-heart", "reactions-smile", "reactions-tada", "reactions-thinking_face", "updated", "best-match" ], "type": "string" }, "state": { "description": "Issue state. Default: all", "enum": [ "open", "closed" ], "type": "string" }, "team-mentions": { "description": "Team mentioned in issue (@org/team-name)", "type": "string" }, "updated": { "description": "When updated. Format: \">2020-01-01\" (after), \">=2020-01-01\" (on or after), \"<2023-12-31\" (before), \"2020-01-01..2023-12-31\" (range)", "pattern": "^(>=?\\d{4}-\\d{2}-\\d{2}|<=?\\d{4}-\\d{2}-\\d{2}|\\d{4}-\\d{2}-\\d{2}\\.\\.\\d{4}-\\d{2}-\\d{2}|\\d{4}-\\d{2}-\\d{2})$", "type": "string" }, "visibility": { "description": "Repository visibility", "enum": [ "public", "private", "internal" ], "type": "string" } }, "required": [ "query" ], "type": "object" }
Install Server

Other Tools from Octocode MCP

Related Tools

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