Github Portfolio
FreeNot checkedEnables fetching public repositories for a given GitHub username, returning curated data optimized for LLM context windows.
About
Enables fetching public repositories for a given GitHub username, returning curated data optimized for LLM context windows.
README
A Model Context Protocol (MCP) server that connects Large Language Models (like Claude) to the GitHub API.
This project demonstrates an understanding of AI infrastructure by building a secure, standardized bridge between an LLM's context window and an external data source. By using the MCP standard, the LLM can dynamically request live data without requiring custom, one-off API integrations.
🧠 Architecture Overview
This integration utilizes the standard MCP JSON-RPC architecture over stdio:
- The LLM / Client (e.g., Claude Code): Acts as the brain and the mediator. It reads the tool schemas and decides when to fetch external data.
- The MCP Server (This Repo): A lightweight Python application using the
mcpSDK. It securely exposes specific tools and handles the JSON-RPC communication. - The External API (GitHub): The data source. The server executes standard HTTP requests to fetch live data.
🛠️ Available Tools
fetch_public_repos: Takes a GitHubusernameas a string and returns a clean, extracted list of their public repositories (including name, URL, and description) optimized for an LLM's context window.
🚀 Quick Start
Prerequisites
- Python 3.x installed
- Claude Code (or another MCP-compatible client)
Installation
- Clone this repository:
git clone <your-repo-url> cd <your-repo-folder>``` - Install the required dependencies:
pip install -r requirements.txt
Running with Claude Code
You can easily register this server with Claude Code so the LLM can use it dynamically. Run the following command in your terminal from the project directory:
claude mcp add github-portfolio python3 server.py
Once added, you can ask Claude Code a prompt like:
"Use the github-portfolio tools to fetch the public repositories for user1."
Claude will automatically format the JSON-RPC request, wake up the local Python server, execute the API call, and format the response.
Testing Locally
If you want to test the server without Claude Code, a custom Python client is included. Run:
python3 client.py
This will launch a background process, connect via standard input/output, and fetch a hardcoded test request.
Installing Github Portfolio
This server has no published package — it is built from source. Open the repository and follow its README.
▸ github.com/sanjay-vasoya/mcp-github-portfolioFAQ
Is Github Portfolio MCP free?
Yes, Github Portfolio MCP is free — one-click install via Unyly at no cost.
Does Github Portfolio need an API key?
No, Github Portfolio runs without API keys or environment variables.
Is Github Portfolio hosted or self-hosted?
Self-hosted: the server runs locally on your machine via the install command above.
How do I install Github Portfolio in Claude Desktop, Claude Code or Cursor?
Open Github Portfolio on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
GitHub
PRs, issues, code search, CI status
by GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
by mcpdotdirectAmap Maps Mcp Server
MCP server for using the AMap Maps API
by duxiaohuiSupabase
Database, auth and storage
by SupabaseEverything
Reference / test server with prompts, resources, and tools.
Git
Tools to read, search, and manipulate Git repositories.
Sequential Thinking
Dynamic and reflective problem-solving through thought sequences.
Time
Time and timezone conversion capabilities.
Compare Github Portfolio with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All development MCPs
