Skip to main content
Glama
harunme

GitHub Stars MCP Server

by harunme

GitHub Stars MCP Server

A Model Context Protocol (MCP) server for managing GitHub stars with vector storage, RAG-based Q&A, and Gitea backup.

Features

  • list_stars - List GitHub starred repositories

  • sync_stars - Sync and vectorize stars

  • search_projects - Semantic vector search

  • ask_about_projects - RAG-based Q&A

  • fork_to_gitea - Backup projects to Gitea

  • list_backed_up - List backed up projects

  • get_project_info - Get project details

Related MCP server: Markdown Notes MCP

Installation

cd github-star-mcp
pip install -e .

Configuration

  1. Create the config directory and copy the config template:

mkdir -p ~/.github-star-mcp
cp config.yaml.example ~/.github-star-mcp/config.yaml
  1. Edit ~/.github-star-mcp/config.yaml with your settings:

github_token: your_github_token
github_username: your_username

gitea:
  url: http://localhost:3000
  token: your_gitea_token
  username: your_username

llm:
  provider: anthropic  # anthropic | openai | ollama
  api_key: your_api_key
  model: claude-sonnet-4-20250514
  base_url: ""  # Custom base URL for OpenAI compatible APIs

database:
  path: ~/.github-star-mcp/data.db

Usage

Command Line

github-star-mcp --github-token your_token --github-username your_user

Claude Desktop

Add the following to ~/Library/Application Support/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "github-star-mcp": {
      "command": "github-star-mcp",
      "env": {
        "GITHUB_STAR_GITHUB_TOKEN": "your_token",
        "GITHUB_STAR_GITHUB_USERNAME": "your_user",
        "LLM_API_KEY": "your_key"
      }
    }
  }
}

Dependencies

  • LanceDB - Embedded vector database (auto-created at ~/.github-star-mcp/vectors/)

  • Gitea - Optional, for backup

  • SQLite - Auto-created, for local storage

  • Anthropic API - Optional, for RAG Q&A

Related MCP Connectors

Related MCP Servers

  • F
    license
    Not graded
    quality
    D
    maintenance
    Enables managing and searching markdown notes with semantic search, question answering, and note generation, and provides an MCP server for GitHub Copilot integration.
    4
    -
  • F
    license
    Not graded
    quality
    D
    maintenance
    Enables semantic search and retrieval of bookmarked URLs content using vector embeddings, with support for multiple backends and AI assistant integration.
    -
  • F
    license
    Not graded
    quality
    B
    maintenance
    Enables AI agents to search and retrieve information from your GitHub starred repositories via semantic matching, turning your stars into a searchable personal code toolbox.
    1
    -