Even though large language models (LLMs) are increasingly aware of JSON-stat, they cannot keep up with the latest versions of the libraries, particularly if they change frequently. Fortunately, MCP servers come to the rescue.
The
Model Context Protocol (MCP) is a standard introduced by Anthropic (but not limited to Anthropic: any LLM that supports function calling is capable of making use of the model context protocol) to facilitate the connection of LLMs with external data and services. If you are building code using AI-assisted IDEs (like Windsurf, Cursor or Zed, or VS Code extensions like GitHub Copilot, Cline or Roo Code, etc.) or other LLM-based development solutions (like Aider or Claude Code), or any app that supports MCP Servers (like Claude for Desktop),
Context7 offers an
MCP Server that will enrich the context of the LLM with the latest version of libraries and minimize hallucinations.
Several JSON-stat libraries are already indexed at Context7. Unfortunately, Context7 will only include libraries that are available on Github. Another caveat is that it won't index libraries that have few code examples. That seems to be the reason why json-stat.java and JSONStat.jl have not been properly indexed.
X.