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
Scout Monitoring MCP
sponsorPut performance and error data directly in the hands of your AI assistant.
Alpha Vantage MCP Server
sponsorAccess financial market data: realtime & historical stock, ETF, options, forex, crypto, commodities, fundamentals, technical indicators, & more
MCP Options Order Flow Server
A high-performance MCP server for comprehensive options order flow analysis.
Clangaroo
Provides fast C++ code intelligence for LLMs using the clangd language server.
AST2LLM for Go
An AST-powered tool that enhances LLM context by automatically injecting relevant Go code structures into prompts.
OAuth 2.1 MCP Server
A Next.js template for building MCP servers with OAuth 2.1 authentication, supporting PostgreSQL and Redis.
Subotiz MCP
Connect AI assistants to Subotiz - Using Subotiz's external capabilities through natural language
Unity MCP Template
A template project demonstrating interaction between a TypeScript-based MCP server and a Unity client.
Remote MCP Server (Authless)
An example of a remote MCP server deployable on Cloudflare Workers without authentication.
Modellix Docs
Search the Modellix knowledge base to quickly find relevant technical information, code examples, and API references. Retrieve implementation details and official guides to solve development queries efficiently. Access direct links to documentation for deeper context on specific features and tools.
Agent Passport System
Cryptographic identity, scoped delegation, values governance, and deliberative consensus for AI agents. 11 tools, Ed25519 signatures, zero blockchain.
ChuckNorris
A specialized MCP gateway for LLM enhancement prompts and jailbreaks with dynamic schema adaptation. Provides prompts for different LLMs using an enum-based approach.