
Streamparse
io.github.MukundaKattaPublished by GitHub account MukundaKattav1.0.1Updated Oct 24, 2026
Parse partial / truncated / messy JSON for LLM tool calls and structured outputs.
Overview
A local MCP server that lets an assistant parse partial, truncated or messy JSON, extract JSON from prose, and validate JSON strictly.
- What you can do
- Recover a value from possibly truncated JSON, with synthetic closure of open strings, arrays and objects, plus completeness, path, bytes consumed and confidence details. Extract the first parseable JSON value from LLM output, stripping prose, code fences and comments. Validate JSON strictly against RFC 8259, returning the parsed value or a byte position and error message.
- When to use it
- Useful when an assistant works with half-formed or truncated JSON, such as interrupted tool calls or structured output wrapped in prose, and needs a usable value instead of a parse error.
- Requirements
- Runs as a local process over stdio, installed from the npm package @mukundakatta/streamparse-mcp, typically launched with npx or a global npm install. Node.js is needed; no accounts, API keys or environment variables are declared.
Installation
In SourceWeft
- Open Streamparse in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
streamparse-mcp
An MCP server that gives AI assistants the ability to parse partial / messy / truncated JSON.
Built on top of @mukundakatta/streamparse.
Works with Claude Desktop, Cursor, Cline, Windsurf, Zed, and any other MCP client.
Tools exposed
parse_partial_json
Recover a JSON value from a possibly-truncated string. Always returns a valid value with synthetic closure of any open strings, arrays, or objects.
→
extract_json_from_text
Strip prose, ```json fences, and comments around a JSON value embedded in
LLM output. Returns the first parseable value.
Let me know!
Cursor / Cline / Windsurf / Zed
Same shape, in the appropriate mcp.json for your client. Most clients
auto-discover via npx -y @mukundakatta/streamparse-mcp.
Local install
Why this matters
When an LLM is mid-tool-call and you need the assistant to reason about the
half-formed JSON it just wrote, no other tool gives a usable answer. Standard
JSON.parse throws. Regex extraction misses nested structure. This MCP server
gives Claude (or whichever model is driving) a real handle on partial JSON,
right where it lives.
License
MIT.
Source: README.md at commit 0ecba62
Tools
0Version history
1- v1.0.1LatestSep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts