Symbols logo

Symbols

Analyzes source symbols, imports, dependencies, and change impact across multiple programming languages.

Install Symbols

Run the project’s own setup commands, in order.

Setup steps from the project

symbols installs with its own steps rather than a config we can generate, so these are copied as-is. Follow them in order and run the commands in a terminal. Source: github.com

  1. 1. Install
    git clone https://github.com/Jordan-Horner/symbols.git
    
  2. 2. Install
    go build -o syms .
    
  3. 3. Install
    curl -L https://github.com/Jordan-Horner/symbols/releases/latest/download/syms-$(uname -s)-$(uname -m) -o /usr/local/bin/syms
    

Overview

The symbols MCP server gives AI tools structured access to source-code symbols, imports, dependencies, and impact analysis. It runs the `syms mcp` command over stdio and exposes these operations as MCP tools, without requiring a language server or project build step. Reach for it when an agent needs a codebase map, dependency relationships, symbol search, or refactoring impact data. It supports multiple languages through tree-sitter parsing and language-specific dependency resolution.

Use cases

  • Map unfamiliar repositories before making changes
  • Trace direct and transitive dependencies
  • Assess the impact of modifying a file
  • Search symbols across a project
  • Provide structured code context to AI agents

Key features

  • AST-based symbol extraction
  • Import and dependency analysis
  • Direct and transitive impact analysis
  • Project dependency graph summaries
  • Fuzzy symbol search
  • JSON output and source ranges

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

22/23 checks healthy over the last 112d

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars2Stargazers on the source repository.
Last commit3mo agoMost recent push to the default branch.
Directory activity1 viewsConfig copies, upvotes, and views on AllMCPs.

How Symbols works

What symbols MCP server does

The symbols MCP server exposes source-code intelligence for local projects through the Model Context Protocol. It can extract functions, classes, constants, variables, and other symbols; parse import statements; resolve file dependencies; find reverse dependencies; search symbols by name; and calculate direct and transitive impact.

Its project-level graph operation summarizes file counts, import edges, unresolved imports, heavily depended-on files, heavily importing files, and detected circular dependencies. These results help an agent inspect a repository structurally instead of reading files one by one.

The underlying CLI also works independently of MCP. Commands such as syms list, syms deps, syms dependents, syms impact, syms graph, and syms search can produce human-readable output or JSON for other tooling.

How it works

Run syms mcp to start the symbols MCP server. MCP requests are handled over stdio using JSON-RPC 2.0. The available tools correspond to the CLI’s main operations: syms_list, syms_imports, syms_deps, syms_dependents, syms_impact, syms_search, and syms_graph.

Symbol extraction uses tree-sitter for AST-based parsing, including function signatures, classes, types, and constants where supported. Import parsing and dependency resolution use regular expressions plus language-specific conventions. Depending on the language, resolution can account for relative imports, TypeScript or JavaScript path aliases, Go modules, Java and Kotlin source paths, Rust module forms, PHP PSR-4 conventions, and other documented project layouts.

Setup and configuration

Install the symbols MCP server by building the Go project with Go 1.26 or later, downloading a release binary on Linux or macOS, or installing it through the project’s Homebrew tap on macOS. Verify the executable with syms --version.

Start it with:

sh
syms mcp

Configure an MCP client to launch that command through stdio. The README gives Claude Code as an example integration and does not document additional server-specific environment variables or configuration files.

Tools and capabilities

The symbols MCP server provides these MCP tools:

  • syms_list extracts symbols from one or more files.
  • syms_imports parses import statements.
  • syms_deps reports direct or transitive file dependencies.
  • syms_dependents finds files that import a target file.
  • syms_impact reports direct and transitive impact.
  • syms_search finds symbols using exact, prefix, and contains matching.
  • syms_graph summarizes the project dependency graph.

The CLI supports machine-readable JSON, optional pretty printing, symbol filters, recursive scans, and optional source ranges.

Limitations and notes

Language support is not uniform. C, C++, Ruby, Scala, and Bash have symbol extraction but no documented dependency resolution. C and C++ also do not list import parsing support. Other languages use regex-based import handling, so results depend on the project conventions documented for each language.

The tool does not require a language server or a build step for the analyzed project, but unresolved imports can still appear in graph output.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Symbols

symbols is an MCP server that connects AI tools to local source code through stdio and exposes syms_list, syms_imports, syms_deps, syms_dependents, syms_impact, syms_search, and syms_graph for code structure and dependency analysis.

Install it by building the Go project, downloading a Linux or macOS release binary, or using Homebrew on macOS. Go builds require Go 1.26 or later; verify the installed command with `syms --version`.

Run `syms mcp` to start the server over stdio.

It supports symbol extraction for Python, TypeScript, JavaScript, Svelte, Go, Java, Kotlin, Rust, C#, PHP, C/C++, Ruby, Scala, and Bash. Dependency resolution is documented for a smaller subset, while C/C++ and several other languages lack that capability.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewSymbols AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/symbols?style=directory)](https://allmcps.com/mcp/symbols)
HTML Embed
<a href="https://allmcps.com/mcp/symbols"><img src="https://allmcps.com/api/badge/symbols?style=directory" alt="Symbols on AllMCPs" /></a>