aethis-mcp
MCP server for the Aethis developer API — eligibility checks via Claude, Cursor, Windsurf
Versions
0.15.1latest0.15.00.13.00.10.00.9.0+ show 10 moreshow less
0.7.20.7.10.7.00.4.30.3.00.2.60.2.20.2.10.2.00.1.0Tools 33
aethis_schema Get the input fields required for an eligibility check. Returns field names, types, descriptions, and allowed values. Use this before calling aethis_decide.
aethis_decide Evaluate eligibility against either a single published ruleset (ruleset_id) or a composed rulebook (rulebook_id). Provide exactly one. A rulebook composes multiple rulesets via outcome_logic — use it for the whole-form decision (e.g. `aethis/uk-fsm`). A ruleset is one section in isolation (e.g. `aethis/uk-fsm/child-eligibility`). Returns eligible/not_eligible/undetermined with optional trace and explanation. When undetermined, includes next_question and optimal_path. Rulebook evaluation always requires an API key; ruleset evaluation can be anonymous against public rulesets.
aethis_next_question Get the optimal next question for a conversational eligibility check. Call with empty field_values for the first question, then add answers and call again until decision is reached. When the ruleset author attached notes to a question (e.g. why it is asked, or legal background), they are surfaced under a Notes block.
aethis_graph Get the ruleset-map graph for a single published ruleset (ruleset_id) or a composed rulebook (rulebook_id) — provide exactly one. Returns {ruleset_id|rulebook_id, slug, name, graph: {nodes, edges, sections, stats}, mermaid}: each node
aethis_explain Get human-readable descriptions of the rules in a ruleset, including criteria groups, requirements, and exception paths.
aethis_explain_failure Diagnose why a ruleset produced an unexpected outcome for specific test inputs. Use during rule authoring when a test fails — returns the diagnosis, criteria with DSL metadata (waivable, review_required), and a targeted hint for fixing the rule.
aethis_list_projects List all projects in the current tenant. Returns project IDs, names, domains, and latest ruleset information.
aethis_list_rulesets List all rule rulesets for a project, including version history. Shows ruleset ID, human-readable name (the section title the ruleset covers, e.g.
aethis_discover_rulesets List public showcase rulesets across all tenants. No authentication required. Use this for first-time discovery, demos, or whenever the user asks
aethis_list_rulebooks List rulebooks (composed wholes that bridge multiple rulesets) in the current tenant. Returns rulebook_id, slug (e.g. `aethis/uk-fsm`), name, domain, status (draft/active/archived), version, outcome_logic (the composition Expr AST), ruleset_refs, and timestamps. Use this when the user asks
aethis_usage Show the caller
aethis_rulebook_schema Get the composition + aggregated input fields for a rulebook. Returns the outcome_logic Expr AST (how the bridged rulesets compose, e.g. `A AND (B OR C)`), the list of bridged rulesets (ruleset_name, ruleset_id, slug, status), and the union of all required input fields. Use this BEFORE aethis_decide on a rulebook_id to know what field_values to supply, or to inspect how a rulebook is wired. Pass a rulebook slug (e.g. `aethis/uk-fsm`) or opaque id (`rb_*`).
aethis_create_rulebook Create a new Rulebook — the composed-whole execution unit that bridges multiple rulesets (the parts) via outcome_logic. Created empty: no rulesets, no field vocabulary, no tests, status=
aethis_update_rulebook Update a Rulebook
aethis_archive_project Archive a project. Archived projects are preserved but excluded from listing. This is permanent.
aethis_archive_ruleset Archive a rule ruleset. Archived rulesets are preserved but excluded from /decide resolution. This is permanent.
aethis_create_ruleset Create a new rule ruleset with source text and test cases (TDD). Test cases are required. After creation, call aethis_generate_and_test.
aethis_list_guidance List all guidance hints accumulated for a project. Shows the text, source, and active status of each hint. Use before adding new guidance to avoid duplicates.
aethis_add_guidance Add a guidance hint to a project. Use for domain knowledge not in the source text. Then call aethis_generate_and_test to regenerate.
aethis_add_domain_guidance Add a guidance hint at domain level — applies to ALL projects in the domain, not just one project.
aethis_list_domain_guidance List all active guidance hints for a domain. Returns cross-section hints that apply to all projects in the domain.
aethis_discover_sections Discover the logical sections of source legislation for a domain.
aethis_refine_sections Add guidance to improve section discovery, then re-discover sections.
aethis_validate_sections Compare discovered sections against an expected specification.
aethis_discover_fields Discover input fields from the project
aethis_refine_fields Add guidance to improve field discovery, then re-discover. Use when fields are missing, misnamed, or enum values are incomplete. Adds a field_extraction guidance hint and re-runs discovery.
aethis_validate_fields Assert that the discovered fields match an expected field specification.
aethis_set_field_spec Store the expected field specification for a project.
aethis_generate_and_test Generate rules from source text and run all test cases. Triggers generation, polls until complete, then runs tests. Returns pass/fail with regression detection. Takes 60-120 seconds.
aethis_refine Refine an existing published ruleset: add optional feedback, then make the MINIMAL edit to fix failing test cases while keeping passing tests green, and re-run the full suite (seed-from-existing incremental re-authoring). Use this to fix a specific finding without re-authoring the whole section; use aethis_generate_and_test for a from-scratch rebuild.
aethis_publish Publish the latest rule ruleset. Runs tests first and refuses if they fail unless force=true. Auto-deprecates previous active ruleset.
aethis_review_project Review an authoring project against the deterministic authoring-coach rubric and get skill-building feedback. Returns a score, per-check evidence across grounding / process / lifecycle, strengths, and the single highest-leverage next improvement. Advisory only — it never blocks publishing. The deterministic report needs no LLM key; set coach=true (with an Anthropic key) to add an LLM-synthesised coaching narrative on top of the computed checks.
aethis Permissions 4
network medium filesystem low shell high env_vars low