Skip to content
MCP server

tabnas

Parse text with a tabnas grammar, validate grammars and compare grammar versions

Install
Pricing
Free
Platforms
CLI, API, self-hosted
Runs
Locally or Remotely
Version
0.1.20
Listing updated
2 days ago

About tabnas

tabnas is a free MCP server for developer tools. It can run locally on your machine or as a hosted remote server.

Grammars here are data, not code, and the server is built around that. Before any operation that takes a grammar, a firewall rejects prototype-pollution keys, live function references and plugin injection. The grammar then goes through structural schema validation and a trial load. Each call uses a fresh engine, so there is no state carried between calls.

Seven tools cover parsing input with a grammar, checking a serialized grammar before running it, explaining a failed parse with its error code, position, expected tokens and rule stack, running shared TSV fixtures, listing grammar plugins and describing one in full. The seventh, compare_grammars, asks whether a changed grammar still accepts what the old one did and builds the same trees, and reports proven and observed results with a confidence value rather than a bare verdict.

The package also installs a tabnas command-line tool over the same core. Its --json output is byte-identical to the MCP result, and golden tests hold the two to that. Local stdio via npx is the recommended route. A hosted endpoint exists for clients that cannot spawn processes, with a 256 KB body cap and a per-IP rate limit, and it says it never logs or stores document content.

Install

Run in a terminal

claude mcp add --transport http mcp https://mcp.tabnas.dev/mcp

Add to Settings → Connectors → Add custom connector

https://mcp.tabnas.dev/mcp
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "mcp": {
      "url": "https://mcp.tabnas.dev/mcp"
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "mcp": {
      "type": "http",
      "url": "https://mcp.tabnas.dev/mcp"
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "mcp": {
      "serverUrl": "https://mcp.tabnas.dev/mcp"
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "mcp": {
      "type": "http",
      "url": "https://mcp.tabnas.dev/mcp"
    }
  }
}

Tools this server provides (7)

Taken from the project documentation; the running server may differ.

parse
Parse input with a grammar and return the tree or a diagnostic.
validate_grammar
Check a serialized grammar before running it.
explain_parse_error
Explain a parse failure with code, position, expected tokens and rule stack.
test_grammar
Run shared TSV fixtures against a grammar.
list_plugins
List grammar plugins and what each parses.
describe_plugin
Return one plugin's descriptor.
compare_grammars
Check whether a grammar change still accepts the old inputs and builds the same trees.

What it does

Parse with a grammar
Returns the parse tree or a structured diagnostic for any input.
Grammar validation
Checks a serialized grammar against a schema and a security scan before it runs.
Failure explanation
Reports error code, position, expected tokens and rule stack with the registry entry.
Fixture testing
Runs shared TSV fixtures against a grammar and returns per-row results.
Version comparison
Reports whether a grammar change keeps accepting old inputs and building the same trees.
Matching CLI
Provides a tabnas command whose JSON output equals the MCP tool result.

Good for

  • Debug why an input fails to parse
  • Check a new grammar for errors before using it
  • Regression-test a grammar edit against fixtures
  • Compare two grammar versions for compatibility
  • Browse available grammar plugins and their error codes

Pricing

Free

Local stdio is free and unlimited; hosted endpoint is rate limited

Prices change. Check tabnas.dev before you buy.

tabnas FAQ

How do I run it?

Use npx --yes @tabnas/mcp mcp over stdio, or point a client at the hosted streamable-HTTP endpoint.

Which transport is recommended?

Local stdio, which the site describes as free, private, unlimited and reproducible.

Does the hosted endpoint keep my documents?

No. The site says document content is never logged, stored or used for training.

Can a grammar run arbitrary code?

No. Grammars are treated as data and a firewall rejects prototype keys and non-builtin function references.

Is tabnas free?

Yes. tabnas is free to use.

How do I add tabnas to Claude Code?

Run this command in your terminal: claude mcp add --transport http mcp https://mcp.tabnas.dev/mcp

What are the best alternatives to tabnas?

The closest alternatives to tabnas are REA, Codebase Memory, GitHub, Serena MCP: the IDE for your agent and XERJ.

Alternatives to tabnas

  1. REA

    MCP server

    CLI and MCP server that lets coding agents reverse engineer apps and binaries

    Runs locally
    • Open source
    • 464K GitHub stars
    • Developer tools
  2. Codebase Memory

    MCP server

    Local MCP server that builds a code knowledge graph for AI coding agents

    Runs locally
    • Open source
    • 48.7K GitHub stars
    • Knowledge and memory
  3. GitHub

    MCP server

    Official MCP server connecting AI assistants to GitHub repos, issues and workflows

    Not checked yet
    • Remote
    • Open source
    • 34.5K GitHub stars
    • Developer tools
  4. MCP toolkit giving coding agents symbol-level code retrieval and editing

    Runs locally
    • Open source
    • 31.5K GitHub stars
    • Developer tools
  5. XERJ

    MCP server

    Local search engine for AI agents with cited answers over your code and docs

    Runs locally
    • Open source
    • 19.2K GitHub stars
    • Knowledge and memory
  6. Ouroboros

    MCP server

    Spec-first layer that pins requirements and verifies results of AI coding agent work

    Runs locally
    • Open source
    • 6.4K GitHub stars
    • Developer tools