# Carrick [Health: Active]

**Category:** 🤖 Coding Agents  
**Repository:** https://github.com/carrick-tools/carrick  
**GitHub Stars:** 6  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/carrick

## Description
TypeScript codebase intelligence for AI agents and IDEs, across every service and repo.

## Tools
Capabilities this server exposes over MCP:

- **search_by_intent** — Search functions by what they do, matching a plain-English query against each function's intent
- **find_similar** — Find similar functions, for code you are about to write or duplicates already in the project
- **list_function_intents** — Browse indexed functions and intents, a page at a time, by service or file
- **get_project_map** — Show the project map, a short summary of services, contracts and unmatched calls
- **list_projects** — List workspace projects and the repositories connected to each
- **list_services** — List the project's services, with their endpoint, call and function counts
- **get_service_graph** — Show the cross-service call graph, with unmatched calls and orphaned endpoints
- **get_operation** — Find who serves and calls an operation, given its method and path
- **get_callers** — Find callers of a function anywhere in the project
- **get_api_endpoints** — List a service's operations across HTTP, GraphQL, WebSockets and pub/sub
- **get_endpoint_types** — Read an endpoint's request and response types as the TypeScript compiler resolved them
- **get_type_definition** — Resolve a named type definition to its expanded TypeScript
- **check_compatibility** — Check a consumer against a producer, with a type verdict for each call
- **get_service_dependencies** — Read npm dependencies and version conflicts, for one service or across the project
- **list_external_calls** — List outbound calls to external targets, such as SDK calls, external domains and env-var URLs
- **get_contract_pair** — Compare consumer and producer types, operation by operation
- **scaffold** — Generate Carrick setup files (the workflow, a Carrick skill, `carrick.json` and Claude Code hooks)

## Claude Desktop Quick Installation
Remote MCP endpoint (confidence: high). Install path detected from listing signals. Add as a URL/SSE server in your client:

```json
"mcpServers": {
  "carrick": {
    "url": "https://api.carrick.tools/mcp"
  }
}
```

## Documentation

## What Carrick does

Carrick builds an index of TypeScript code across repositories and services, including projects in a monorepo or separate repositories. It records functions by inferred intent, maps service relationships, resolves endpoint types through the TypeScript compiler, and tracks calls between producers and consumers.

The MCP surface is aimed at coding agents that need architectural context before changing code. An agent can locate an existing implementation by describing its behavior, identify callers before modifying a function, inspect an operation's consumers, or compare producer and consumer types. The index also covers HTTP, GraphQL, WebSocket, and pub/sub operations, plus npm dependencies and outbound calls to external targets.

## How it works

The CLI initializes a Carrick workspace, connects the repositories selected during setup, and arranges for each repository to contain a `carrick.json` configuration. A first scan produces the index used by the MCP tools. Carrick can index code from multiple repositories, allowing cross-service relationships to be inspected even when all of the source is not checked out together.

Index updates can run in GitHub Actions. The documented workflow refreshes repository data on pushes to the main branch and can also run for pull requests. The action is read-only in CI and uses GitHub permissions rather than requiring an API key to store.

Carrick also supplies task skills for Claude Code and other agent workflows. Its editor integration uses LSP for navigation, caller information, and contract diagnostics, while MCP exposes the structured index directly to agents.

## Setup and configuration

Install the CLI globally with npm, then initialize a workspace:

```bash
npm install -g carrick
carrick init
```

Initialization signs the user in, asks which repositories to index, and connects an agent. It then lets the agent create repository configuration and perform the initial scan. The quick-start requirements specify Node.js 24 or newer.

The `scaffold` MCP tool can generate setup files including a workflow, a Carrick skill, `carrick.json`, and Claude Code hooks. The repository also documents a GitHub Action for refreshing the index in CI.

## Tools and capabilities

Carrick exposes tools for:

- Searching functions by plain-language intent and finding similar implementations.
- Browsing indexed functions, project maps, projects, services, and service graphs.
- Inspecting operations, callers, endpoints, resolved endpoint types, and expanded TypeScript definitions.
- Checking compatibility between consumers and producers, or comparing contract pairs operation by operation.
- Reviewing service dependencies, package version conflicts, and outbound external calls.
- Generating Carrick setup files and agent workflow files.

Four bundled skills focus on impact analysis, code reuse, type drift, and exhaustive codebase-wide searches. Their results come from the Carrick index and are intended for common agent tasks such as finding every caller or checking whether a helper already exists.

## Limitations and notes

Results depend on the indexed repository state. Carrick's CI workflow refreshes data on configured pushes and pull requests, so changes made after the latest scan may not yet appear in the MCP results. Editor navigation that jumps to a handler requires the relevant code to be available on disk, while cross-repository analysis can use the shared index.

The scanner is source-available, and Carrick offers a free tier alongside paid plans. The MCP integration is intended for TypeScript ecosystems and uses compiler-resolved types for endpoint and contract analysis.

_Full upstream README: https://allmcps.com/mcp/carrick/readme_

