GitHub Portfolio MCP Server
Provides tools for querying a GitHub user's public profile, repositories, languages, and README content, enabling AI agents to retrieve and analyze GitHub data.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@GitHub Portfolio MCP Server What is the language breakdown for bdbrown4's repos?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
GitHub Portfolio MCP Server
An MCP (Model Context Protocol) server that exposes tools for AI agents to query a GitHub user's public profile, repositories, languages, and README content.
Tools
Tool | Description |
| List all public repositories with optional fork filtering and sorting |
| Get detailed info about a repo including its full README |
| Get language breakdown (with percentages) for a repository |
| Get the GitHub user's public profile (bio, location, stats) |
| Search repos by keyword across names, descriptions, and topics |
| Aggregate languages and topics across all original repos |
Related MCP server: GitBridge
Resources
Resource | URI | Description |
Profile |
| Full GitHub profile JSON |
README |
| README content for any repo |
Setup
npm install
npm run buildUsage with Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"github-portfolio": {
"command": "node",
"args": ["C:/dev/github-portfolio-mcp-server/dist/index.js"]
}
}
}Usage with VS Code (GitHub Copilot)
Add to your .vscode/mcp.json or user settings:
{
"servers": {
"github-portfolio": {
"command": "node",
"args": ["C:/dev/github-portfolio-mcp-server/dist/index.js"]
}
}
}Optional: Higher Rate Limits
Set a GitHub Personal Access Token to avoid the 60 req/hour unauthenticated limit:
{
"mcpServers": {
"github-portfolio": {
"command": "node",
"args": ["C:/dev/github-portfolio-mcp-server/dist/index.js"],
"env": {
"GITHUB_TOKEN": "ghp_your_token_here"
}
}
}
}Example
Here's the list_repos tool in action inside VS Code with GitHub Copilot, listing all 18 original (non-forked) public repos sorted by most recently updated:

Development
npm run dev # Watch mode — recompiles on change
npm run build # One-time compile
npm start # Run the server (stdio)Available Tools
6 toolsget_languagesGet Repository LanguagesB
Get programming languages used in a repository with byte counts.
Inputs: repo_name (required).
get_profileGet GitHub ProfileA
Get the public GitHub profile for bdbrown4.
Inputs: no named parameters.
get_repo_detailsGet Repository DetailsA
Get detailed info about a specific repository including its README.
Inputs: repo_name (required).
get_tech_stack_summaryTech Stack SummaryA
Aggregate languages and technologies across all of bdbrown4's repos.
Inputs: no named parameters.
list_reposList GitHub RepositoriesC
List public repositories for bdbrown4.
Inputs: sort, include_forks.
search_reposSearch RepositoriesA
Search bdbrown4's repositories by keyword.
Inputs: query (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 6 tools
Each tool serves a clear, distinct purpose: listing repos, getting specific repo details, languages, profile, searching, and tech stack aggregation. Overlap between list_repos and search_repos is minimal since search is a filtered view, and get_languages vs get_tech_stack_summary differ by scope (single repo vs aggregate).
All tool names follow a consistent verb_noun pattern in snake_case (e.g., list_repos, get_profile, search_repos). Even the longer get_tech_stack_summary adheres to the same convention, making the set predictable and easy to navigate.
Six tools is well-scoped for a portfolio-focused server. The count is neither too sparse nor too heavy, and each tool contributes a necessary function for showcasing a GitHub profile and repos.
The tool surface fully covers the apparent domain of a GitHub portfolio: listing repos, viewing details, checking languages, profile info, searching, and summarizing tech stack. There are no obvious dead ends or missing operations for the stated purpose.
Maintenance
Related MCP Connectors
GitHub repo search, stats, language breakdown and comparison as agent tools.
Access the GitHub API, enabling file operations, repository management, search functionality, and…
Operate GitHub from your AI assistant: repos, PRs, issues, Actions. Previews and read-only mode.
Code intelligence for LLMs. Analyze, search, and retrieve code from any public git repository.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables AI assistants to access and analyze GitHub profile data, providing insights on repositories, commit history, coding patterns, and generating portfolio summaries for developers and recruiters.82MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to analyze GitHub repositories, including fetching repository details, searching, and retrieving README content.443 npm2ISC
- FlicenseAqualityCmaintenanceMCP server for exploring GitHub public data. It provides tools to fetch user profiles, list top repositories, and calculate language usage statistics, which AI agents can invoke dynamically.3-
- FlicenseNot gradedqualityDmaintenanceEnables AI assistants to query GitHub data directly through natural language, including user profiles, repositories, issues, and search.-