Abcoder

v1.0.0Coding Agentsstable

deep, reliable and confidential coding-context

ai-agentai-codingastcontext-engineerlsp
Share:
373
Stars
0
Downloads
0
Weekly
0/5

What is Abcoder?

Abcoder is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to deep, reliable and confidential coding-context

deep, reliable and confidential coding-context

This server falls under the Coding Agents category on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • deep, reliable and confidential coding-context

Use Cases

Provide deep coding context with AST analysis.
Extract reliable code information.
Support confidential code indexing.
cloudwego

Maintainer

LicenseApache-2.0
Languagego
Versionv1.0.0
UpdatedMay 19, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx abcoder

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use Abcoder

ABCoder is an AI-powered coding context server that uses Abstract Syntax Tree (AST) analysis to give AI assistants deep, reliable understanding of your codebase. It parses source code into a language-agnostic UniAST format, enabling Code-Retrieval-Augmented-Generation (Code-RAG) so agents can accurately navigate and modify large repositories. Developers use it to provide Claude, GPT-4, or other LLMs with precise, confidential code context without sending entire files to external services.

Prerequisites

  • Go 1.21 or later installed (used to build and install abcoder)
  • A supported LLM API key: OpenAI, Anthropic Claude, Ollama, or Ark (set via API_KEY env var)
  • An MCP-compatible client such as Claude Desktop or Claude Code
  • Git and a local repository to index
1

Install ABCoder via Go

Install the abcoder binary from the official CloudWeGo repository using the Go toolchain.

go install github.com/cloudwego/abcoder@latest
2

Parse your repository into AST format

Run abcoder parse on your project directory to generate the AST output file that the MCP server will serve. Replace 'go' with your project language and adjust the output path as needed.

abcoder parse go /path/to/your/repo -o /path/to/repo.ast.json
3

Initialize Claude Code integration (optional)

If using Claude Code, run init-spec inside your project directory to set up slash commands like /abcoder:schedule and /abcoder:task.

cd /path/to/your/repo && abcoder init-spec
4

Configure the MCP server in your client

Add the abcoder MCP server entry to your Claude Desktop or Claude Code configuration file, pointing to the generated AST directory.

{
  "mcpServers": {
    "abcoder": {
      "command": "abcoder",
      "args": ["mcp", "/path/to/repo.ast.json"]
    }
  }
}
5

Restart your MCP client

Restart Claude Desktop or reload Claude Code so it picks up the new MCP server configuration. ABCoder will appear as an available tool.

Abcoder Examples

Client configuration

Full claude_desktop_config.json entry for ABCoder pointing to a parsed AST file.

{
  "mcpServers": {
    "abcoder": {
      "command": "abcoder",
      "args": ["mcp", "/Users/you/projects/myrepo/myrepo.ast.json"]
    }
  }
}

Prompts to try

Example prompts that leverage ABCoder's AST-based code understanding.

- "Use abcoder to find all functions that call the `processPayment` function in this repository"
- "Analyze the dependency graph of the `auth` package and list what it imports"
- "Identify all struct definitions in the codebase that implement the `Handler` interface"
- "Show me the callers of `getUserByID` across the entire repo"

Troubleshooting Abcoder

abcoder command not found after installation

Ensure your Go bin directory is on PATH. Run 'export PATH=$PATH:$(go env GOPATH)/bin' and add it to your shell profile.

MCP server fails to start — 'AST file not found'

Make sure you ran 'abcoder parse' first and the output JSON path in your MCP config args matches the actual file location.

Agent mode returns authentication errors

Set the required environment variables: API_TYPE (openai|ollama|ark|claude), API_KEY (your key), and MODEL_NAME (model identifier) before running abcoder agent.

Frequently Asked Questions about Abcoder

What is Abcoder?

Abcoder is a Model Context Protocol (MCP) server that deep, reliable and confidential coding-context It connects AI assistants to external tools and data sources through a standardized interface.

How do I install Abcoder?

Follow the installation instructions on the Abcoder GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.

Which AI clients work with Abcoder?

Abcoder works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is Abcoder free to use?

Yes, Abcoder is open source and available under the Apache-2.0 license. You can use it freely in both personal and commercial projects.

Browse More Coding Agents MCP Servers

Explore all coding agents servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

{ "mcpServers": { "abcoder": { "command": "npx", "args": ["-y", "abcoder"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use Abcoder?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides