Skip to main content

laiaric-mcp

An MCP server for xeditai/laiaric-open. Laiaric-open is a small open-weight model that turns unstructured text into JSON.

Agents make many small extraction steps: read a ticket, a log line, or a spec, and fill typed fields. A large LLM for each step costs time and tokens. This server does the step locally in Ollama.

  • Text in, typed JSON out. You give a JSON Schema and the text.
  • Grounded values. The model copies values from the text. A value that is not in the text is null.
  • Local and small. 2.7 GB (Q4_K_M) runs on a laptop GPU.

mcp-name: io.github.raycollabs/laiaric-mcp

1. Install the model

ollama pull xeditai/laiaric-open

2. Add the server to your client

You need uv. uvx downloads and runs the server.

Claude Code

claude mcp add laiaric -- uvx laiaric-mcp

Claude Desktop, Cursor, and other JSON-config clients

{
  "mcpServers": {
    "laiaric": {
      "command": "uvx",
      "args": ["laiaric-mcp"]
    }
  }
}
  • Claude Desktop: claude_desktop_config.json
  • Cursor: ~/.cursor/mcp.json or .cursor/mcp.json in the project

Tools

extract(text, schema)

Argument Type Description
text string The source text, such as a bug ticket, log excerpt or spec. The limit is 24,000 characters.
schema object A JSON Schema of type object, or a map of field name to field schema.

Example call:

{
  "text": "Production incident: service 'auth-gateway' failed with HTTP 504. Root cause: redis-primary pool exhaustion.",
  "schema": {
    "service_name": {"type": "string"},
    "status": {"type": "integer"},
    "owner_email": {"type": ["string", "null"]}
  }
}

Result:

{
  "data": {"service_name": "auth-gateway", "status": 504, "owner_email": null},
  "missing": [],
  "notes": {"service_name": "explicitly mentioned"},
  "audit": {"model": "xeditai/laiaric-open", "duration_ms": 3591, "text_chars": 108, "fields": 3}
}
  • data: one value for each schema property.
  • missing: properties that the model did not return. Their values in data are null.
  • notes: a short reason or evidence from the model, when it gives one.
  • audit: the model, the duration and the input size, for your logs.

health()

This tool checks that Ollama runs and that the model is installed. If the model is not installed, it tells you the ollama pull command.

Configuration

Variable Default Description
OLLAMA_HOST http://localhost:11434 Ollama URL
LAIARIC_MODEL xeditai/laiaric-open Model tag, for example xeditai/laiaric-open:q8_0
LAIARIC_TIMEOUT 120 Request timeout in seconds

Field F1 by domain

Domain F1
Software app specifications 1.000
RL hillclimb proposals 1.000
System failure triage 0.986
General unseen schemas 0.978
Agent candidate configurations 0.975
SDK bug tickets 0.905

Development

uv sync
uv run pytest

The live test runs only if Ollama has the model installed.

License

Apache-2.0

Metadata

Release files for laiaric-mcp 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for laiaric-mcp 0.1.0
File Size Uploaded Provenance Actions
laiaric_mcp-0.1.0.tar.gz 6.2 kB Without provenance Details for laiaric_mcp-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for laiaric-mcp 0.1.0
File Interpreter ABI Platform Actions
laiaric_mcp-0.1.0-py3-none-any.whl Python 3 none any Details for laiaric_mcp-0.1.0-py3-none-any.whl

Total release size: 14.4 kB

Release files / laiaric_mcp-0.1.0.tar.gz

Download URL laiaric_mcp-0.1.0.tar.gz
Size 6.2 kB
Tags Source
SHA-256 checksum
How to use checksums
9c10e82afe45acfd9f13f4b3db737b78c17e02ad4aa4d6421c5cafdccb27012f
BLAKE2b-256 checksum
How to use checksums
2b499db58187f375a359f662f0259250576ba5a347aa871a25b2d3df016e252b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.5 {"installer":{"name":"uv","version":"0.13.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / laiaric_mcp-0.1.0-py3-none-any.whl

Download URL laiaric_mcp-0.1.0-py3-none-any.whl
Size 8.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
294b0fd0e7b29d0a2bc34fdac0827d246fef661d1fdb5a9ad3902bed999088f6
BLAKE2b-256 checksum
How to use checksums
aa781ef1462f95acd6800d738c18e9149d4abf0bc73a8fdca68838b749b885c4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.5 {"installer":{"name":"uv","version":"0.13.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for laiaric-mcp 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page