Skip to main content
Glama

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

Related MCP server: Lspace MCP Server

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

Maintenance

ActivitySlowing
ResponsivenessNo issues

Related MCP Connectors

  • A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…

  • The Mercado Pago MCP Server implements the Model Context Protocol to provide AI agents and LLMs with access to Mercado Pago's APIs and tools within compatible development environments. It acts as an intermediary that translates Mercado Pago resources into executable functions (tools) that AI applications can invoke to perform actions and automate flows. The server simplifies integration, enables using documentation to implement or improve code, and optimizes operations through natural language interactions without manual implementations.

  • The Cortex MCP server provides read-only access to real-time engineering context from the Cortex developer portal, allowing AI coding assistants to answer natural language questions about your organization's catalog (microservices, libraries, domains, teams, infrastructure), scorecards (engineering standards and best practices), initiatives (goals and deadlines), and Engineering Intelligence metrics. It includes tools for querying documentation, tracking personal entities, and accessing AI-assisted insights across the entire Cortex ecosystem.

  • Social media MCP server: your Instagram, TikTok, YouTube, LinkedIn and Threads history for your AI.

Related MCP Servers

  • F
    license
    A
    quality
    F
    maintenance
    An open-source server implementing the Model Context Protocol (MCP) that enables capturing insights from AI sessions and transforming them into persistent, searchable knowledge accessible across tools.
    7
    8
    -
  • A
    license
    Not graded
    quality
    A
    maintenance
    A Model Context Protocol server that exposes Sonarr, Radarr, Lidarr, and Jellyfin to any MCP client through a curated tool layer for LLM consumption.
    MIT