Skip to main content

🗂️ 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


Portfolio MCP Server demo

⚡ Quickstart

Run it with zero setup:

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

Or add it straight to Claude Code:

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

💡 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
🔧 5 tools List, detail lookup, stack search, flagship pick, resume summary
✅ 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 a given technology "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."

🧠 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 bundled project data. Nothing is hosted, and no API keys are needed.

🎬 Demo

MCP Inspector: tool discovery Live chat demo
MCP Inspector Demo MCP Chat Demo
🎥 Full video walkthrough

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

Setup → tool calls → live answers, end to end.

🔌 Connect a client

Claude Code
claude mcp add --scope user portfolio -- uvx --with 'mcp<2' portfolio-mcp-server
Claude Desktop

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?"

Cursor and other clients

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

Run from source
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.

Testing & CI

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.

Project structure
portfolio-mcp-server/
|-- portfolio_mcp_server/
|   |-- __init__.py
|   `-- server.py          # packaged module (what PyPI ships)
|-- server.py              # top-level entry point (dev / MCP Inspector / CI)
|-- tests/
|   |-- smoke_test.py      # stdio smoke test: calls all 5 tools, validates JSON schema
|   `-- test_tools.py      # per-tool tests
|-- assets/                # demo GIF and screenshots
|-- .github/workflows/ci.yml
|-- pyproject.toml         # PyPI packaging config
|-- server.json            # MCP registry manifest
|-- requirements.txt
|-- requirements-dev.txt
|-- claude_desktop_config_snippet.json
|-- CONTRIBUTING.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

Warning: The installed package is a snapshot. pip install gets the portfolio as it was at that release (v1.0.2, published 2026-10-24, at the time of writing). Projects added and demo links changed since then won't appear until a new version is published, and tool responses can't yet say how current they are.

  • Static project data. Tools read from bundled data, so updating a project means editing it and republishing. There is no live sync with the GitHub repos or portfolio site yet.
  • 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.
  • One technology per search. search_projects_by_stack filters on a single technology per call, so "LangGraph and FastAPI together" isn't supported yet.

🗺️ Roadmap

Done

  • Publish to PyPI as an installable package
  • Publish to the official MCP server registry
  • Refresh the bundled project data (v1.0.2)

Next

  • Fetch project data from the portfolio site at startup, with the bundled snapshot as an offline fallback (one source of truth instead of two copies that drift apart)
  • Return a last_updated date from every tool so an answer can say how current it is
  • Link-check every demo URL in the dataset in CI
  • Support matching multiple technologies at once in search_projects_by_stack
  • Add an HTTP/SSE transport option alongside stdio for remote clients

🌐 Also listed on

Portfolio MCP server on mcprush

📄 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

Metadata

Release files for portfolio-mcp-server 1.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for portfolio-mcp-server 1.0.2
File Size Uploaded Provenance Actions
portfolio_mcp_server-1.0.2.tar.gz 666.2 kB Without provenance Details for portfolio_mcp_server-1.0.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for portfolio-mcp-server 1.0.2
File Interpreter ABI Platform Actions
portfolio_mcp_server-1.0.2-py3-none-any.whl Python 3 none any Details for portfolio_mcp_server-1.0.2-py3-none-any.whl

Total release size: 677.3 kB

Release files / portfolio_mcp_server-1.0.2.tar.gz

Download URL portfolio_mcp_server-1.0.2.tar.gz
Size 666.2 kB
Tags Source
SHA-256 checksum
How to use checksums
2bbbb84114ad0d7e6cf29d2d20cdc3a52e7bc9d7c8927f6db7ebcfe7a4ffde31
BLAKE2b-256 checksum
How to use checksums
19c6392dc656599897c41663b65396a4264fbdbaff59cfe0be4b4a9a6e704fc0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.5

Release files / portfolio_mcp_server-1.0.2-py3-none-any.whl

Download URL portfolio_mcp_server-1.0.2-py3-none-any.whl
Size 11.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fad8237c6793b7f077df3802a6c9b2dd6233bda621634e608d40fe2e933425d3
BLAKE2b-256 checksum
How to use checksums
481fd6f4966fadea75aeea0fc1bef7ed5060ddf0144664707edd2db4887b3e7d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.5

Security for portfolio-mcp-server 1.0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page