# OXC AST Parser

> Use this tool when you need to parse JavaScript or TypeScript code into Abstract Syntax Trees (ASTs), validate syntax and semantics, or explore AST node documentation. It solves problems related to code analysis, validation, and processing, and accepts code snippets as input, producing detailed AST representations, diagnostic outputs, or documentation as output. Ideal for use cases involving JavaScript/TypeScript tooling development, such as building linters or formatters, where understanding AST structures and verifying code correctness is crucial.

Canonical page: https://skillsregistry.net/skills/oxc-ast  
JSON: https://api.skillsregistry.net/v1/skills/oxc-ast

## Description

Unofficial experimental MCP server that provides direct access to the OXC JavaScript/TypeScript parser, enabling AI assistants to parse code into ASTs, validate syntax and semantics, and explore AST node documentation. Built in Rust using the oxc_parser crate, it offers three core tools: parsing code snippets into detailed AST representations, checking for syntactic and semantic errors with diagnostic output, and browsing comprehensive documentation for OXC AST node types with regex filtering. Designed as a companion tool for developers working on JavaScript/TypeScript tooling like linters or formatters, allowing agents to understand AST structures and verify code correctness before further processing.

## Trust

- **Trust score (0–1):** 0.50
- **Verification tier:** unverified

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** mcp-remote
- **Runtime environment:** api
- **Category:** file-system
- **Updated:** 2026-04-25

## Source

- **Source listing:** [PulseMCP](https://www.pulsemcp.com/servers/oxc-ast)
- **Repository:** <https://github.com/leaysgur/oxc-ast-mcp>

## Use it

Resolve this record through the SkillsRegistry MCP server (no auth, read-only):

```
claude mcp add --transport http --scope user skillsregistry https://api.skillsregistry.net/mcp
```

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_skill",
    "arguments": {
      "slug": "oxc-ast"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/oxc-ast` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/oxc-ast/pull`

---
SkillsRegistry indexes agent skills from public registries and GitHub. Skills we have analysed are scanned with Circle-IR and scored on six dimensions; each listing states its scan coverage. More: https://skillsregistry.net/llms.txt
