Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

search_repositories tool giving wrong output #1178

Closed
Assignees
kerobbi
Labels
bugSomething isn't working
@avishmehta68710

Description

@avishmehta68710

Describe the bug

The search_repositories tool returns zero results when searching for repositories in the Google organization, despite this being a valid query that should return thousands of results.

Affected version

ghcr.io/github/github-mcp-server:latest

Steps to reproduce the behavior

Step 1 - Call search_repositories tool with parameters:

json{  "query": "org:google sort:stars desc",  "perPage": "100",  "page": "1",  "minimal_output": "false"}

Step 2 - Observe zero results returned

Expected vs actual behavior

Query: org:google sort:stars desc

Should return up to 100 repositories from the Google organization
Results should be sorted by star count in descending order
Google has thousands of public repositories, so this query should never return zero results

Logs

Paste any available logs. Redact if needed.

query='list the top 100 repositories in the google org on GitHub sorted in descending order by number of stars' category='REPOSITORIES' tool_calls=[ToolCall(tool_name='search_repositories', input_params={'minimal_output': 'false', 'page': '1', 'perPage': '100', 'query': 'org:google sort:stars desc'}, output='{"total_count":0,"incomplete_results":false}', success=True, error=None, timestamp=datetime.datetime(2025, 10, 5, 19, 59, 21, 874286), execution_time_ms=None)] final_response='The search_repositories tool call did not return any results. This is likely because the query "org:google sort:stars desc" does not match any repositories in the Google organization.\n\nTo get the top 100 repositories in the Google organization sorted by stars, you can try using a more specific query or adding additional parameters to the search_repositories tool call.\n\nFor example, you could use the following query:\n\n"org:google language:python sort:stars desc"\n\nThis would return only Python repositories in the Google organization, sorted by the number of stars.\n\nIf this still does not return any results, it is possible that the Google organization has restricted access to its repositories or that there are no Python repositories in the organization.' metadata={'message_count': 5, 'category_reasoning': None} timestamp=datetime.datetime(2025, 10, 5, 19, 59, 21, 874143) total_execution_time_ms=None

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


    [8]ページ先頭

    ©2009-2025 Movatter.jp