Analysis updated 2026-05-18
Let an AI agent solve real scheduling problems like exam timetabling by writing a JSON spec instead of code.
Validate and repair an infeasible assignment problem by diagnosing which constraint is breaking it.
Solve constraint problems like graph coloring, seating charts, or task-to-machine assignment through an MCP client.
| maciejewskii/solver-mcp | adhithya90/design-lens-compose | blindman81/snippets | |
|---|---|---|---|
| Stars | 4 | 4 | 4 |
| Language | Kotlin | Kotlin | Kotlin |
| Setup difficulty | moderate | moderate | moderate |
| Complexity | 3/5 | 4/5 | 2/5 |
| Audience | developer | developer | general |
Figures from each repo's GitHub metadata at analysis time.
Requires JDK 21 and an MCP-capable client, can also run via the provided Docker image.
solver-mcp is a local server that gives AI coding assistants a real optimization engine to solve scheduling and assignment style problems, instead of trying to work them out by guessing. An AI agent writes a plain description of the problem as a JSON file, listing generic entities, the possible values they can be assigned, their attributes, and a set of rules the assignment must follow. The server checks that description for mistakes, actually solves it using an optimization engine called Timefold Solver, and returns the resulting assignments along with a breakdown of how well each rule was satisfied. The project positions itself around one key idea: the AI writes a description of the problem, never code to solve it, so the assignment answer comes from real computation rather than being made up by the language model. It is an independent, unofficial project built on top of the open source Timefold Solver. To use it, you need a recent Java version and a client, such as Claude Code or Claude Desktop, that can start local command line servers using the MCP protocol. You build the project into a single runnable file, or use the provided Docker image, then register it with your AI assistant using a short command or a small configuration snippet. Once connected, the assistant gains five tools: one that explains how to write a valid problem description, one that checks a description for errors, one that solves it, one that explains why a given solution scores the way it does, and one that helps figure out which rule is causing an unsolvable problem. The current version only supports one type of problem, where every entity gets exactly one value from a list, such as assigning exam sessions to time slots and rooms, or seats at a wedding table while avoiding conflicts. Several example problems are included, covering things like the eight queens puzzle, graph coloring, and task scheduling with capacity limits. Future plans include support for ordered sequences of assignments and an alternative solving backend for proving a solution is truly optimal. The project is released under the Apache 2.0 license.
A local MCP server that lets AI agents describe scheduling and assignment problems in JSON and get real, computed solutions from Timefold Solver.
Mainly Kotlin. The stack also includes Kotlin, Timefold Solver, MCP.
Free to use, modify, and distribute for any purpose, including commercial use, as long as the copyright notice and license are kept.
Setup difficulty is rated moderate, with roughly 30min to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Verify against the repo before relying on details.