ravelry-mcp logo

ravelry-mcp

alicegetmanchuk/ravelry-mcp-project
0 starsUpdated 2026-06-24Community
Deploy on Hostinger, 20% off →Your friend gets 20% off too, using this linkFree API →SearchsearchView on GitHubGitHub repositoryReport an issue

Is this your server?

Add your score badge to your README and get your server in front of 45k+ builders a month.

Works with

Claude CodeClaude DesktopCursorVS CodeClineCodex CLIOpenClaw+ any MCP client

Install to Claude Code

This server doesn't publish a one-line install command. Follow the setup in the source repository.

Summary

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.

README.md

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 |

Prerequisites

Setup

git clone https://github.com/alicegetmanchuk/ravelry-mcp-project.git
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

See related servers & alternatives →

Related MCP servers

Browse all →

Related guides

Hand-picked reading to help you choose and use Search servers.