MCP Catalogs
Home

swift-skeleton

by 1amageek·15·Score 42

Swift code skeleton extractor that provides structural overviews of codebases via MCP for better LLM code exploration.

developer-toolsai-llm
1
Forks
0
Open issues
1 mo ago
Last commit
2d ago
Indexed

Overview

swift-skeleton is an MCP server that extracts type declarations, properties, method signatures, and source locations from Swift and other programming languages. It creates a lightweight structural overview of codebases that fits in context windows, allowing AI assistants to understand code architecture without reading entire source files. Built on Tree-sitter for fast parsing, it supports multiple languages including Swift, Kotlin, TypeScript, Go, Zig, Rust, C++, Python, and Java.

Try asking AI

After installing, here are 7 things you can ask your AI assistant:

you:Providing AI coding assistants with code structure overview before diving into implementation details
you:Helping developers quickly understand unfamiliar codebases by examining their skeleton structure
you:Enabling efficient navigation of large codebases by focusing on declarations and relationships
you:Supporting code analysis tools with fast indexing and querying capabilities
you:Which programming languages are supported by swift-skeleton?
you:How does swift-skeleton help AI coding assistants?
you:Can I use swift-skeleton as a library in my own project?

When to choose this

Choose swift-skeleton for large Swift or multi-language codebases where you need AI agents to understand structure without exceeding context limits.

When NOT to choose this

Don't choose it if you need write access to codebases or support for languages not in its parser list.

Tools this server exposes

12 tools extracted from the README
  • skeleton

    Extract structural skeleton of Swift, Kotlin, TypeScript, Go, Zig, Rust, C++, Python, or Java projects

  • query

    Search for specific symbols or declarations in the project skeleton

  • status

    Get project status and skeleton index information

  • diagnostics

    Get diagnostic information about the project skeleton

  • files

    List files included in the skeleton index

  • languages

    List supported programming languages

  • index.open

    Open a project in the JSON-RPC daemon

  • index.get_skeleton

    Get skeleton data via JSON-RPC daemon

  • index.query

    Query the project skeleton via JSON-RPC daemon

  • index.update

    Update the project skeleton via JSON-RPC daemon

  • index.diagnostics

    Get skeleton diagnostics via JSON-RPC daemon

  • index.status

    Get index status via JSON-RPC daemon

Comparable tools

codegraph-mcptree-sitter-mcpcortexast-grep

Installation

Installation Options

**Mint (recommended)**

mint install 1amageek/swift-skeleton

**Build from source**

git clone https://github.com/1amageek/swift-skeleton.git
cd swift-skeleton
swift build -c release

**MCP Configuration for Claude Desktop** Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "swift-skeleton": {
      "command": "path/to/skltn",
      "args": ["daemon"]
    }
  }
}

**Agent Skill Installation**

skltn install-skill

FAQ

Which programming languages are supported by swift-skeleton?
swift-skeleton supports Swift, Kotlin, TypeScript, Go, Zig, Rust, C++, Python, and Java. Each language parser can be selected via package traits.
How does swift-skeleton help AI coding assistants?
It provides a structural overview of codebases (type declarations, methods, relationships) that fits in context windows, allowing AI assistants to understand architecture before exploring specific implementations.
Can I use swift-skeleton as a library in my own project?
Yes. The project offers both embedded (in-process) and sidecar (out-of-process) usage patterns, along with a JSON-RPC daemon for MCP integration.

Compare swift-skeleton with

GitHub →

Last updated · Auto-generated from public README + GitHub signals.