Skip to main content

MCP server for browsing shadcn/ui documentation

Project description

shadcn-docs-mcp

MCP server for browsing shadcn/ui documentation.

Tools

Tool Description
shadcn_contents Fetch the table of contents (llms.txt) with relative links
shadcn_page Fetch a doc page by relative path (e.g. /docs/components/button)

All absolute ui.shadcn.com URLs are converted to relative /docs/... paths.

Install

uv sync

Usage with Claude Code

uvx (no install needed)

claude mcp add shadcn-docs -- uvx shadcn-docs-mcp

From local checkout

claude mcp add shadcn-docs -- uv run --directory /path/to/shadcn-docs-mcp shadcn-docs-mcp

.mcp.json

{
  "mcpServers": {
    "shadcn-docs": {
      "type": "stdio",
      "command": "uvx",
      "args": ["shadcn-docs-mcp"]
    }
  }
}

Development

uv sync
uv run shadcn-docs-mcp

Test with MCP Inspector:

npx @modelcontextprotocol/inspector uv run shadcn-docs-mcp

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

shadcn_docs_mcp-0.1.0.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

shadcn_docs_mcp-0.1.0-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

Details for the file shadcn_docs_mcp-0.1.0.tar.gz.

File metadata

  • Download URL: shadcn_docs_mcp-0.1.0.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.8 {"installer":{"name":"uv","version":"0.10.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"22.04","id":"jammy","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for shadcn_docs_mcp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 49964b2c9c6a4b30ba688d0948cafe3d800d666e6db2bc7caef34985da7fde70
MD5 4e8050fa09d7d571c57e5d82cf793fe4
BLAKE2b-256 0973748972cd3757922326394b61637ea9e18c15ba521c5351f5dc4c2a39e471

See more details on using hashes here.

File details

Details for the file shadcn_docs_mcp-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: shadcn_docs_mcp-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.8 {"installer":{"name":"uv","version":"0.10.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"22.04","id":"jammy","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for shadcn_docs_mcp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 362e7ff242143674e175384196bd6687f727db67a6058464ce35171c50366516
MD5 51aea5ab7d0e53f8c9cab815b9bb2162
BLAKE2b-256 6f259af8da02d4e825172705e59953e33474f34367bc72b6f83370644c53c1bc

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page