# svelte-component-graph-mcp

> Use this tool when you need to analyze and optimize Svelte or SvelteKit projects by exposing component dependencies. It solves problems such as identifying unused components and understanding route dependencies, providing inputs like project code and outputs like dependency graphs over stdio. Use it in contexts where editor-agnostic analysis of Svelte component relationships is required.

Canonical page: https://skillsregistry.net/skills/jamcgrath-svelte-component-graph-mcp  
JSON: https://api.skillsregistry.net/v1/skills/jamcgrath-svelte-component-graph-mcp

## Description

An MCP server that exposes a Svelte/SvelteKit project's component dependency graph over stdio, enabling AI coding assistants to query component imports, unused components, and route dependencies without an editor.

## Trust

- **Trust score (0–1):** 0.70
- **Verification tier:** verified
- **Last scanned:** 2026-08-30

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** mcp-remote
- **Runtime environment:** api
- **Category:** other
- **Updated:** 2026-08-30

## Source

- **Source listing:** [Glama](https://glama.ai/mcp/servers/bq04gbxq4g)
- **Repository:** <https://github.com/jamcgrath/svelte-component-graph-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": "jamcgrath-svelte-component-graph-mcp"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/jamcgrath-svelte-component-graph-mcp` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/jamcgrath-svelte-component-graph-mcp/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
