Skip to main content
Glama

ravelry-mcp

An MCP server that connects Claude to the Ravelry API, letting knitters and crocheters search for patterns, find yarn, and calculate how much to buy — all through natural language without leaving their workflow.

Tools

Tool

Description

search_patterns

Search Ravelry patterns by keyword, craft, yarn weight, difficulty, and price

get_pattern_details

Fetch full details for a pattern including yardage, gauge, sizes, and a direct link

search_yarn

Search the Ravelry yarn database by name, brand, weight, or fiber content

calculate_yarn_needed

Calculate how many skeins of a specific yarn are needed for a pattern, with a buffer

Related MCP server: agent-skill-loader

Prerequisites

Setup

git clone https://github.com/alicegetmanchuk/ravelry-mcp-project.git ravelry-mcp
cd ravelry-mcp
uv pip install -e .
cp .env.example .env

Edit .env with your Ravelry credentials:

RAVELRY_USERNAME=your_username
RAVELRY_PASSWORD=your_personal_auth_token

Note: v0 only needs Basic Auth read-only access. On Ravelry, go to Pro → Apps → Create a personal app — this gives you a username and password token with no OAuth setup required.

Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "ravelry": {
      "command": "uv",
      "args": ["run", "ravelry-mcp"],
      "cwd": "/path/to/ravelry-mcp"
    }
  }
}

Development

Run the MCP inspector to test tools interactively:

uv run mcp dev src/ravelry_mcp/server.py:mcp

Roadmap

The following features require OAuth (user-level access) rather than Basic Auth:

  • Stash matching — search a user's yarn stash against a pattern's requirements

  • Queue access — read and manage a user's pattern queue

  • Project progress tracker — log and update in-progress knitting projects

Related MCP Connectors

Related MCP Servers