personal-mcp-server

personal-mcp-server

A Model Context Protocol server that exposes personal data tools for Spotify listening history, movie ratings, and GitHub repos, enabling natural language queries from MCP clients.

Category
Visit Server

README

personal-mcp-server

A small Model Context Protocol (MCP) server that exposes personal project data as tools any MCP client can call.

What is MCP?

MCP is an open protocol that lets AI assistants (like Claude Desktop or Claude Code) call out to external "servers" for tools, resources, and data — instead of the model having to guess or hallucinate. A client (the assistant) connects to a server (this project) over stdio or SSE, and the server advertises tools the assistant can invoke, with typed inputs and text outputs. This project is a server: it wraps a few personal data sources — Spotify listening history, movie ratings, and GitHub repos — in a small toolset that a client can query in natural language ("what were my top artists in 2024?").

Tools exposed

Tool Description Data source
spotify_top_artists(year?, limit?) Top artists by listening time sample_data/spotify_history.json (sample data)
spotify_top_tracks(year?, limit?) Top tracks by listening time sample_data/spotify_history.json (sample data)
search_movie_ratings(query?, genre?, min_rating?) Search personal movie ratings/notes sample_data/movie_ratings.json (sample data)
list_github_repos(username?, limit?) List a GitHub user's repos with descriptions Live GitHub API

The Spotify and movie data files are clearly-labeled synthetic sample data checked into the repo (_note field in each file) so the server runs out of the box without needing your real Spotify export or a personal ratings database. Swap in your own files with the same shape to use real data — no code changes required as long as the JSON schema matches.

The GitHub tool calls the live GitHub REST API. It works unauthenticated for public data (subject to GitHub's stricter unauthenticated rate limits) or authenticated via a GITHUB_TOKEN environment variable.

Running the server

Requires Python 3.10+.

# Install dependencies
pip install -r requirements.txt
# (or: pip install -e .)

# Optional: for live/authenticated GitHub calls
export GITHUB_TOKEN=ghp_your_token_here

# Run the server directly (stdio transport)
python server.py

# Or use the MCP CLI dev tool (auto-reload + inspector UI)
mcp dev server.py

Connecting from Claude Desktop

Add this server to your Claude Desktop config file:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "personal-data": {
      "command": "python",
      "args": ["/absolute/path/to/personal-mcp-server/server.py"],
      "env": {
        "GITHUB_TOKEN": "ghp_your_token_here"
      }
    }
  }
}

Restart Claude Desktop, then ask something like "What were my top Spotify artists in 2024?" or "List my GitHub repos."

Connecting from Claude Code

Claude Code can attach to local MCP servers the same way — via its MCP server configuration (see Claude Code docs for claude mcp add), pointing at the same command/args shown above.

Project structure

personal-mcp-server/
├── server.py                        # MCP server + tool definitions
├── sample_data/
│   ├── spotify_history.json         # SAMPLE synthetic Spotify streaming history
│   └── movie_ratings.json           # SAMPLE synthetic movie ratings/notes
├── pyproject.toml
├── requirements.txt
└── README.md

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured