1. Conduid
  2. Blockchain
  3. Ast Indexer
MCP server · Blockchain

Ast Indexer

MCP Server for indexing Git repositories using AST parsing

37Low

Scored 6 months ago · breakdown

About Ast Indexer

Ast Indexer is an MCP server in the Blockchain category: mCP Server for indexing Git repositories using AST parsing.

Install

Claude Code
claude mcp add ast-indexer -- npx -y @klouwer94/ast-indexer
npx
npx -y @klouwer94/ast-indexer

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

✦

Ask AI about Ast Indexer

Powered by Claude · Grounded in docs

I know everything about Ast Indexer. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

  • ✓README presentThe repository ships documentation.

5 checks have not been run yet.

README

AST-Indexer MCP Server

AST-Indexer is a Model Context Protocol (MCP) server for indexing Git repositories with AST parsing. It extracts functions, classes, imports, variables, and SQL schema objects from JavaScript, TypeScript, C#, and SQL codebases so they can be queried through MCP tools.

Installation

Install the server globally:

npm install -g @klouwer94/ast-indexer

AST-Indexer requires Node.js 20 or newer.

Add it to your MCP client configuration:

{
  "mcpServers": {
    "ast-indexer": {
      "command": "ast-indexer"
    }
  }
}

For npx usage and HTTP transport configuration, see docs/usage.md.

Features

  • Index Git repositories with include and exclude glob patterns.
  • Parse JavaScript and TypeScript, including .js, .jsx, .mjs, .cjs, .ts, .tsx, .mts, and .cts.
  • Parse C# using regex-based extraction (classes, methods, properties, using directives, UTF-16 encoding support).
  • Parse SQL using regex-based extraction (tables, views, stored procedures, functions, triggers, and indexes).
  • Search indexed repositories for functions, classes, imports, SQL tables, SQL views, SQL triggers, and SQL indexes.
  • Return repository-level statistics for indexed files and extracted symbols.
  • Two-layer cache: per-file memory cache backed by a disk cache keyed on Git commit hash or file mtime.
  • Supports both stdio (default) and HTTP (--transport http) transport modes.
  • Built with TypeScript, Zod, and Vitest.

Using the MCP server

See docs/usage.md for the full tool reference, CLI flags, configuration examples, and glob pattern behavior.

If you want to understand how the codebase is structured, see docs/project-architecture.md.

Contributors

Contributors

Contributions are welcome. See CONTRIBUTING.md for local setup and contribution guidelines.

License

ISC

README copy captured when this server was indexed; it may lag the repository. The original is authoritative.

Questions

About Ast Indexer

How do I install Ast Indexer?

Run claude mcp add ast-indexer -- npx -y @klouwer94/ast-indexer, then add the server to your MCP client's configuration.

Is Ast Indexer safe to use with an AI agent?

Its trust score is 37 out of 100 (low). It passes 1 of the 1 static security checks run so far. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Ast Indexer still maintained?

Conduid hasn't recorded a commit date for this repository yet. Check the repository directly for recent activity.