Advent of Code MCP Server
Interact with the Advent of Code website. Requires a session cookie for authentication.
Advent of Code MCP Server
MCP server to interact with the Advent of Code website.
This project is developed for educational purposes. The server aims to simplify interactions with the Advent of Code website and enhance the puzzle-solving workflow.
However, building a self-submitting app around solutions will likely be the most efficient approach.
Tools
GetAocProgress
- Gets star count for a specified Advent of Code year
- Parameters:
year(int) - Returns:
Stars(int)
SubmitAnswer
- Submits an answer for an Advent of Code day part. If the previous answer has been given too recently, waits until it can be submitted (with progress notifications).
- Parameters: int year, int day, int part, string answer
- Returns:
Correct/Incorrect/TooLow/TooHigh
GetInputResource
- Retrieves the personal puzzle input
- Parameters: int year, int day
- Returns: input text as an embedded resource
Resources
aocinput://{year}/{day}
Resource template for the personal puzzle input
Use this MCP Server
{ "mcpServers": { "aoc": { "command": "docker", "args": [ "run", "-i", "--rm", "-e", "SESSION_COOKIE", "ghcr.io/mazharenko/aoc-mcp" ], "env": { "SESSION_COOKIE": "" } } } }
Prompt examples
> get aoc stats for 2024
> submit "42" for 2024/10/1
> get aoc input for 2024/10 and save it
> Get aoc input for 2024/10 and write it to a new file. Run aoc program for year 2024 day 10, pass 2024 and 10 as positional arguments and the created file path as --input-file argument. Read the answers from the output and submit them.
Related Servers
OTP MCP Server
Generates secure One-Time Passwords (OTP) using TOTP and HOTP algorithms.
Supra Code Generator MCP
Generates Supra Move contracts and TypeScript SDK code.
weibaohui/kom
Provides multi-cluster Kubernetes management and operations using MCP, It can be integrated as an SDK into your own project and includes nearly 50 built-in tools covering common DevOps and development scenarios. Supports both standard and CRD resources.
Pollinations MCP Server
Generate images and text using the Pollinations.ai API.
CDK API MCP Server
Provides an offline AWS CDK API reference.
FAL Imagen 4
Generate high-quality images using Google's Imagen 4 Ultra model via the FAL AI platform.
Unified MCP Client Library
A TypeScript library for integrating MCP with tools like LangChain and Zod, providing helpers for schema conversion and event streaming.
Storybook MCP
Help agents automatically write and test stories for your UI components
MapleStory MCP Server
Access NEXON MapleStory open API data for character info, union details, guild data, rankings, and game mechanics.
Serena
A coding agent toolkit that provides an LLM with IDE-like capabilities for semantic code retrieval and editing directly in your codebase.