Skip to main content
Glama
Portfolio MCP Server

Portfolio MCP Server

πŸ—‚οΈ Portfolio MCP Server

Ask an AI about my work. It answers from real data, not a PDF.

An MCP server that makes my AI project portfolio queryable. Connect it to Claude, Cursor, or any MCP client and just ask.

PyPI CI Python 3.10+ MCP License: MIT Code style: ruff PRs Welcome

Quickstart Β· Tools Β· Demo Β· Connect a client Β· Limitations Β· Roadmap

⚑ Quickstart

The server command (clients launch it for you; run by hand, it just waits silently for a client):

uvx --with "mcp<2" portfolio-mcp-server

Add it to Claude Code with one line:

claude mcp add --scope user portfolio -- uvx --with "mcp<2" portfolio-mcp-server

Then ask:

"What has Ayush built with LangGraph?"

Prefer pip? pip install portfolio-mcp-server

Related MCP server: toad-mcp-server

πŸ’‘ Why this exists

Most AI-developer portfolios are a list of links. This is a working MCP server built around my own portfolio, using the same protocol agentic products use to connect to tools. It is a real implementation of the spec and a direct answer to "show me you've actually built with MCP."

πŸ“¦ Published

Live on PyPI and the official MCP registry

πŸ”§ 7 tools

List, detail lookup, stack search, flagship pick, resume summary, job-description match, data freshness

βœ… Tested

Lint, type-check, and a stdio smoke test on every push

🧰 Tools

Tool

What it does

Try asking

list_projects

Summary of every project in the dataset

"List everything Ayush has built."

get_project_details(project_name)

Full details for one project

"Tell me about his RAG chatbot."

search_projects_by_stack(technology)

Projects using one or more technologies or topics ("LangGraph and FastAPI", "RAG")

"Which projects use FastAPI?"

get_flagship_project

The best project to look at first

"What should I look at first?"

get_resume_summary

Background, target role, core stack

"Summarize his background."

match_job_description(job_description)

Ranks the projects against a pasted job description (keyword overlap)

"Which of his projects fit this job description?"

get_data_info

How current the data is and where it came from

"How fresh is this data?"

Resources and prompts

Besides tools, the server exposes MCP resources (portfolio://projects, portfolio://projects/{name}, portfolio://profile) and two prompts: evaluate_fit (assess the portfolio against a role or a pasted job description) and portfolio_tour (a short guided tour). Every tool is marked read-only, so clients can run them without asking each time.

🧠 How it works

MCP client (Claude, Cursor, agents)  <--stdio-->  portfolio-mcp-server (FastMCP)  -->  bundled project data

The client launches the server as a local process and talks to it over stdio. The server answers each tool call from its project data: the copy bundled in the package, refreshed from this repository when online (see Known limitations). Nothing is hosted, and no API keys are needed.

🎬 Demo

MCP Inspector: tool discovery

Live chat demo

MCP Inspector Demo

MCP Chat Demo

https://github.com/user-attachments/assets/4c1b844a-087f-48a6-b156-bdef27282acc

Setup β†’ tool calls β†’ live answers, end to end.

πŸ”Œ Connect a client

claude mcp add --scope user portfolio -- uvx --with "mcp<2" portfolio-mcp-server

Open your config file:

OS

Path

macOS

~/Library/Application Support/Claude/claude_desktop_config.json

Windows

%APPDATA%\Claude\claude_desktop_config.json

If the file already has an mcpServers key, add "portfolio" inside it instead of overwriting the file.

Installed with pip:

{
  "mcpServers": {
    "portfolio": {
      "command": "portfolio-mcp-server"
    }
  }
}

Running from a cloned checkout (use the absolute path to server.py):

{
  "mcpServers": {
    "portfolio": {
      "command": "python",
      "args": ["/absolute/path/to/portfolio-mcp-server/server.py"]
    }
  }
}

Restart Claude Desktop and ask: "What projects has Ayush built with FastAPI?"

Any MCP client that can launch a stdio server works. Use portfolio-mcp-server (after pip install) or the uvx command above as the server command.

πŸ› οΈ Development

git clone https://github.com/ayush-s-tomar/portfolio-mcp-server.git
cd portfolio-mcp-server

python -m venv venv
source venv/bin/activate        # Windows: venv\Scripts\activate

pip install -r requirements.txt

Test it interactively with the MCP Inspector:

mcp dev server.py

This opens a browser UI where you can call each tool and inspect raw request and response payloads.

Every push and pull request runs through GitHub Actions:

Check

Command

Lint

ruff check .

Type check

mypy server.py

Smoke test

Starts the server and calls all 5 tools over stdio, confirming each returns valid, schema-matching JSON

Run the same checks locally before opening a PR:

pip install -r requirements-dev.txt
ruff check .
mypy server.py
pytest

See .github/workflows/ci.yml.

portfolio-mcp-server/
|-- portfolio_mcp_server/
|   |-- __init__.py
|   |-- server.py          # tools, resources, prompts, data loading and validation
|   `-- data/
|       `-- projects.json  # the portfolio data (bundled, refreshed from GitHub)
|-- server.py              # top-level entry point (dev / MCP Inspector)
|-- tests/
|   |-- conftest.py        # keeps tests offline
|   |-- smoke_test.py      # stdio smoke test: calls all 7 tools
|   |-- test_tools.py      # per-tool tests
|   |-- test_data.py       # data integrity checks
|   |-- test_v110.py       # live refresh, validation, search, matching
|   |-- test_v120.py       # annotations, resources, prompts
|   `-- check_links.py     # checks every URL in the data (weekly in CI)
|-- assets/                # demo GIF and screenshots
|-- .github/               # CI and weekly link check, Dependabot, templates
|-- pyproject.toml         # PyPI packaging config
|-- server.json            # MCP registry manifest
|-- requirements.txt
|-- requirements-dev.txt
|-- claude_desktop_config_snippet.json
|-- CHANGELOG.md
|-- CONTRIBUTING.md
|-- SECURITY.md
`-- LICENSE

Built with: Python 3.10+ Β· MCP Python SDK (FastMCP) Β· stdio transport Β· registered on the MCP registry as io.github.ayush-s-tomar/portfolio-mcp-server

⚠️ Known limitations

Note: The server refreshes its data from this repository (one JSON file) the first time a tool is used, and falls back to the copy bundled with your installed version when offline. This makes one small request to raw.githubusercontent.com; set PORTFOLIO_MCP_OFFLINE=1 to disable it. Call get_data_info to see which data you got and its date.

  • Keyword matching only. match_job_description and the stack search rank by keyword overlap and a hand-written synonym map. They are a quick filter, not an assessment of fit.

  • stdio only. It works for local clients that can spawn the process, such as Claude Desktop, but there is no HTTP/SSE option yet for remote clients.

πŸ—ΊοΈ Roadmap

Done

  • Publish to PyPI as an installable package

  • Publish to the official MCP server registry

  • Refresh the bundled project data (v1.0.2)

  • Weekly CI link check of every URL in the bundled data

  • Live data refresh with a bundled offline fallback

  • Multi-technology search, topic synonyms, and job-description matching

  • Data freshness tool (get_data_info)

  • MCP resources and prompts, read-only tool annotations

Next

  • Hosted streamable-HTTP endpoint for remote clients

  • Optional semantic matching alongside the keyword matcher

🌐 Also listed on

πŸ“„ License

Released under the MIT License.


Built by Ayush Singh Tomar

GitHub Β· LinkedIn Β· Portfolio

If this helped you build your own MCP server, a ⭐ on the repo is appreciated.

mcp-name: io.github.ayush-s-tomar/portfolio-mcp-server

Available Tools

7 tools
get_data_infoA
Read-onlyIdempotent

Say how current the portfolio data is: its date, whether it came from the live repository or the copy bundled with the installed package, how many projects it holds, and the package version.

Inputs: no named parameters. Returns: object

get_flagship_projectA
Read-onlyIdempotent

Get Ayush's flagship project, the one to look at first for a quick sense of his skill level.

Inputs: no named parameters. Returns: object

get_project_detailsA
Read-onlyIdempotent

Get full details for one project by name.

Matching is case-insensitive: an exact name wins, then a name prefix, then any part of a name ('sales' finds SalesAgent), then the words in a description ('RAG chatbot' finds AskMyDocs). If several projects match, the best one is returned and the others are listed under 'also_matches'.

Returns description, full stack, GitHub repo, live demo link, and writeup link if one exists.

Inputs: project_name (required). Returns: object

get_resume_summaryA
Read-onlyIdempotent

Get a summary of Ayush's background: education, target role, core tech stack, and career highlights.

Inputs: no named parameters. Returns: object

list_projectsA
Read-onlyIdempotent

List all projects in Ayush's portfolio with a short summary of each.

Returns a compact list (name, short description, stack). Use get_project_details for the full description, GitHub link, and demo URL.

Inputs: no named parameters. Returns: result

match_job_descriptionA
Read-onlyIdempotent

Rank Ayush's projects against a pasted job description.

Finds the technologies and topics in the text (LangGraph, FastAPI, RAG, agents, ...) and scores each project by how many it covers. This is a keyword overlap, a quick way to see which projects to open first. It is not an assessment of fit.

Inputs: job_description (required), top_n. Returns: object

search_projects_by_stackA
Read-onlyIdempotent

Find projects that use one or more technologies or topics.

Case-insensitive, partial names match ('lang' finds LangGraph). Separate several with commas, '+', '&' or 'and' to require all of them, e.g. 'LangGraph and FastAPI'. Common topics are understood too: 'RAG', 'agents', 'voice', 'fine-tuning', 'frontend', 'backend'.

Useful for answering "does Ayush have experience with X?"

Inputs: technology (required). Returns: result

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.1/5.0

    Scored across 7 tools

    Disambiguation5/5

    Each tool targets a distinct need: listing, single-project detail, stack filtering, JD matching, flagship shortcut, resume summary, and data provenance. Descriptions explicitly cross-reference each other (list_projects points to get_project_details) and clarify boundaries. get_flagship_project slightly overlaps with get_project_details but has a clearly different presentation purpose.

    Naming Consistency5/5

    All names are snake_case with a verb-first pattern (list_, get_, search_, match_) followed by a clear resource or concept. The two non-'get' verbs (search_projects_by_stack, match_job_description) still follow verb_object convention and read predictably.

    Tool Count5/5

    Seven tools is well-scoped for a personal portfolio server β€” every tool maps to a real question a recruiter or agent would ask. Nothing feels redundant or padded.

    Completeness4/5

    The read-only surface covers browsing, detail, tech search, JD matching, resume, and data freshness with no dead ends. Minor gaps: no way to retrieve contact/social links or enumerate all technologies directly, though get_resume_summary and search partially cover this.

    Maintenance

    ActivityMaintained
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers