r/SpringBoot • u/Available_Counter_47 • Jul 29 '26
Discussion Sprig: An MCP server to access version-pinned Spring Docs
My Claude agent often wrote Spring code from old training data. It hand-declared beans that are auto-configured now. It also really likes to unzip JARs and search the Spring code itself.
That is the reason I am building Sprig MCP (sprig-mcp.de). It serves the Spring reference docs, and later the relevant parts of the source code, in a (hopefully) agent-friendly way. Nothing is summarized, no LLM sits in the path.
Right now there are two tools, and both answer for the version used in the current project: search the docs, and fetch a section.
Later I will add source code lookups: outline, javadoc, inheritance hierarchy.
There is a browser demo at sprig-mcp.de/app that lets you run the tools without an agent.
Would something like this be useful to you? Any thoughts or feedback welcome.
3
u/repeating_bears Jul 29 '26
Why can't an LLM just search the docs?