Your agent writes the parser. Texomy runs it.
Connect Claude Code, Cursor, Copilot or any MCP client. The agent turns a sample into a readable, tested spec, and Texomy parses all of your files locally, with no tokens per document.
1. Install Texomy
brew install texomy/tap/texomyLinux and Windows: see Download.
2. Add the MCP server
claude mcp add texomy -- texomy mcpAdd to ~/.cursor/mcp.json, or the MCP config of your client:
{
"mcpServers": {
"texomy": { "command": "texomy", "args": ["mcp"] }
}
}Add to .vscode/mcp.json in your project:
{
"servers": {
"texomy": { "type": "stdio", "command": "texomy", "args": ["mcp"] }
}
}3. Ask for what you need
Parse logs/app.log with Texomy.
I need every slow request with its endpoint and duration,
and every database connection failure with its host.
Write the spec in specs/, add tests from real lines,
then parse the whole file into out/app.jsonl.The agent finds the guide on its own. No Texomy syntax required from you.
Or let your agent set it up
Read https://texomy.com/llms.txt, then install Texomy and configure its MCP server for my AI client.llms.txt tells an agent what Texomy is, how to install it, connect it and use it.
What happens next
A short, verifiable loop. Every step leaves a file you can read.
- 01
Read a sample
The agent looks at a few lines of your file with its own tools.
- 02
Write the spec
It writes types, fields and patterns into a YAML file in your project.
- 03
Check and test
checkcatches mistakes;testpins the expected output for real samples. - 04
Parse the whole file
parsereads the file by path and writes JSONL. The agent reads back only the first results. - 05
You review
studio_showopens it in Studio. The spec and tests are plain files in your repository.
Self-learning specs
Dates, amounts and other values found outside any known statement come back in the result too. They point to text your rules don't cover yet. Give those passages to your agent: it turns them into new rules and tests, and the parser gets better with every review.
Tools your agent gets
One binary, texomy mcp, over stdio. Everything runs on your machine.
guide
Authoring rules and the full syntax reference, so the agent writes idiomatic specs from the first try.
inspect
Lists the packages, modules, types and fields already in your workspace, so the agent reuses them.
check
Compiles specs and returns errors and warnings with recommendations as JSON.
test
Runs *.test.yml files and shows the expected and actual output of a failing case.
parse
Parses inline text or a whole file by path, and writes the result to an output file.
studio_show
Opens the package, input and result in local Studio, so you review what the agent built.
Intelligence once, computation after
- No context limits. A 10 MB log is parsed by the CLI, not pasted into a prompt.
- No per-document tokens. The agent spends tokens on the spec, once per format.
- Same answer every time. The spec is code: diff it, review it, test it.
- Exact positions. Every value points to the characters it came from.
Scoped to your project
- Tools read and write only in the folders your client shares, or the ones you allow.
- Hidden files and folders (
.env,.git,.ssh) are never read or written. parsewrites only its own output file. The agent edits specs with its own tools, under your usual review.- Nothing is read from the network.
If your client does not share a workspace, name the folder:
{
"mcpServers": {
"texomy": {
"command": "texomy",
"args": ["mcp", "--allow-dir", "/path/to/project"]
}
}
}Explore a spec in Studio
Start with a ready-made example in the browser. Change the text or spec, run it and inspect the matches. You can also write your own spec directly in the editor.
Already have an agent? Review its work visually.
Run Studio locally next to your agent. studio_show opens the spec, the input and the result in one window.
texomy studioQuestions
Which agents work with Texomy?
Any client that supports MCP servers over stdio, including Claude Code, Cursor, VS Code with GitHub Copilot, Windsurf and Claude Desktop.
Does the agent need to read my whole file?
No. The agent reads a sample to write the spec. Then parse reads the file by path on your machine and writes the result to a file, so large inputs never enter the conversation or the model’s context.
Which files can the agent reach through Texomy?
Only the folders your client shares as its workspace, or the folders you set with --allow-dir. Hidden files and folders such as .env, .git and .ssh are never read or written, and the home folder or file-system root is refused as too broad.
Is there an AI model inside Texomy?
Not in the CLI. Your agent brings the model; Texomy brings the tools, the guide and a deterministic parser. Studio is the visual editor for reviewing and testing specs; it has no built-in AI generation.
What does it cost?
The CLI and its MCP server are free for individuals and organizations under 50 people; larger organizations need a commercial license. You pay your agent provider for the tokens spent writing the spec, once per format, not per document.
Write the spec once. Run it on everything.
Install the CLI, connect your agent, and turn your first sample into typed data in minutes.
brew install texomy/tap/texomy