Steam Library MCP Server
Provides access to your Steam game library data through Claude Desktop, enabling game search, filtering, details, recommendations, and statistics.
README
Steam Library MCP Server
A Model Context Protocol (MCP) server that provides access to your Steam game library data through Claude Desktop. It includes a helper script to copy your library data locally to a csv file for the MCP server to ingest.
This repo was developed with Claude Code, and I left Claude's config in here for reference. This was built simply as a learning experience and an example of how to create an MCP server.
Features
- Search Games: Find games by name, genre, developer, publisher, review summary, or maturity rating
- Filter Games: Filter by playtime, review summary, or maturity rating
- Game Details: Get comprehensive information about specific games
- Review Analysis: Detailed review statistics for games
- Library Statistics: Overview of your entire game library
- Recently Played: See what you've been playing lately
- Recommendations: Get game suggestions based on your playtime patterns
Example Interactions using Claude Desktop (Click the dropdowns to see responses)
<details> <summary>Suggest games based on recent play history<br><img src="images/recent_games_question.png"/></summary> <br> <img src="images/recent_games_answer.png" /> </details>
<details> <summary>Suggest games based on review scores and age ratings<br><img src="images/game_suggestion_question.png"/></summary> <br> <img src="images/game_suggestion_answer.png" /> </details>
<details> <summary>Generate a calendar timeline following several rules of games to share over time<br><img src="images/game_sharing_calendar_question.png"/></summary> <br> <img src="images/game_sharing_calendar_answer.png" /> </details>
Prerequisites
- Python 3.8 or higher
- A Steam account with a public game library
- Steam API key (get one from https://steamcommunity.com/dev/apikey)
- Your Steam ID
Setup
1. Install Dependencies
pip install -r requirements.txt
2. Fetch Your Steam Library Data
First, create a .env file with your Steam credentials:
# .env
STEAM_ID=your_steam_id_here
STEAM_API_KEY=your_steam_api_key_here
Then run the data fetcher:
python steam_library_fetcher.py
This will create a steam_library.csv file with all your game data.
3. Configure Claude Desktop
Copy the example configuration file and update the paths:
cp claude_desktop_config.example.json claude_desktop_config.json
Edit claude_desktop_config.json and update the paths to match your system:
{
"mcpServers": {
"Steam Library": {
"command": "/path/to/your/python",
"args": ["/path/to/your/simple-steam-mcp/mcp_server.py"],
"env": {}
}
}
}
Then copy it to Claude Desktop's configuration location:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Linux: ~/.config/claude/claude_desktop_config.json
Windows: %APPDATA%\claude\claude_desktop_config.json
4. Test the Server
You can test the server directly:
python mcp_server.py
5. Restart Claude Desktop
After updating the configuration file, restart Claude Desktop to load the MCP server.
Usage Examples
Once configured, you can ask Claude Desktop questions like:
- "What are my top 10 most played games?"
- "Show me all my puzzle games"
- "Find games with 'Very Positive' reviews that I haven't played yet"
- "What are some good games I should try based on what I've played?"
- "Show me details for Half-Life 2"
- "What games have I played recently?"
- "Give me statistics about my Steam library"
Available Tools
- search_games: Search by name, genre, developer, publisher, review summary, or maturity rating
- filter_games: Filter by playtime thresholds, review summary, or maturity rating
- get_game_details: Get comprehensive info about a specific game
- get_game_reviews: Get detailed review statistics
- get_library_stats: Overview statistics of your library
- get_recently_played: Games played in the last 2 weeks
- get_recommendations: Personalized suggestions based on your playtime
Data Source
The server reads from steam_library.csv which should contain columns:
- appid, name, maturity_rating, review_summary, review_score, total_reviews
- positive_reviews, negative_reviews, genres, categories, developers, publishers
- release_date, playtime_forever, playtime_2weeks, rtime_last_played
Troubleshooting
- Server not connecting: Check that the path in your Claude Desktop config is correct
- CSV not found: Ensure
steam_library.csvis in the same directory as the server script - Permission errors: Make sure Python has read access to the CSV file
- Port conflicts: The server uses port 8000 by default - ensure it's available
Technical Details
- Built using the official MCP Python SDK
- Uses FastAPI for web transport with SSE (Server-Sent Events)
- Pandas for efficient CSV data processing
- Runs on all network interfaces (0.0.0.0) for flexibility
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。