# Swift Package Manager Dependencies

> Use this tool when you need to efficiently explore and manage Swift Package Manager dependencies in Xcode and SPM projects. It solves problems related to accessing and understanding third-party dependencies by providing features like dependency listing, source code searching, and file browsing. The tool accepts project directories and Package.resolved files as inputs and outputs dependency information, source code search results, and file contents, making it ideal for Swift developers who require AI assistance with dependency debugging and management.

Canonical page: https://skillsregistry.net/skills/getcmd-spm-dependencies  
JSON: https://api.skillsregistry.net/v1/skills/getcmd-spm-dependencies

## Description

An MCP server for searching and exploring Swift Package Manager dependencies in Xcode and SPM projects. Built with Rust for performance, it solves the problem that SPM dependencies are typically stored in hidden folders like DerivedData that coding agents cannot easily access. The server provides tools to list dependencies with their versions and disk locations, search through dependency source code using ripgrep with regex support, browse files within dependencies, and read specific files with optional sed processing. It includes intelligent caching based on Package.resolved files and supports both pure SPM projects and Xcode workspaces, making it valuable for Swift developers who need AI assistance with understanding or debugging third-party dependencies.

## Trust

- **Trust score (0–1):** 0.91
- **Verification tier:** verified
- **Last scanned:** 2026-09-19

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** mcp-remote
- **Runtime environment:** api
- **Category:** maps-location
- **Updated:** 2026-09-19

## Source

- **Source listing:** [PulseMCP](https://www.pulsemcp.com/servers/getcmd-spm-dependencies)
- **Repository:** <https://github.com/getcmd-dev/spm-dependencies-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": "getcmd-spm-dependencies"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/getcmd-spm-dependencies` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/getcmd-spm-dependencies/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
