Skip to main content

Heavy backend for Claude Skills MCP server with vector search (Streamable HTTP)

Project description

Claude Skills MCP Backend

Heavy backend server for Claude Skills MCP system with vector search capabilities.

Overview

This is the backend component of the Claude Skills MCP system. It provides:

  • Vector-based semantic search using sentence-transformers
  • Skill indexing and retrieval
  • MCP protocol via Streamable HTTP transport
  • Background skill loading from GitHub and local sources

Note: This package is typically auto-installed by the frontend (claude-skills-mcp). You only need to install it manually for:

  • Remote deployment (hosting your own backend)
  • Development and testing
  • Standalone usage without the frontend proxy

Installation

# Via uv (recommended)
uv tool install claude-skills-mcp-backend

# Via uvx (one-time use)
uvx claude-skills-mcp-backend

# Via pip
pip install claude-skills-mcp-backend

Usage

Run Standalone Server

# Default (localhost:8765)
claude-skills-mcp-backend

# Custom port
claude-skills-mcp-backend --port 8080

# For remote access
claude-skills-mcp-backend --host 0.0.0.0 --port 8080

# With custom configuration
claude-skills-mcp-backend --config my-config.json

# Verbose logging
claude-skills-mcp-backend --verbose

Configuration

# Print example configuration
claude-skills-mcp-backend --example-config > config.json

# Edit config.json to customize skill sources, embedding model, etc.

# Run with custom config
claude-skills-mcp-backend --config config.json

Endpoints

When running, the backend exposes:

  • Streamable HTTP MCP: http://localhost:8765/mcp
  • Health Check: http://localhost:8765/health

Docker Deployment

Build Image

docker build -t claude-skills-mcp-backend .

Run Container

# For local access
docker run -p 8765:8765 claude-skills-mcp-backend

# For remote access
docker run -p 8080:8765 \
  -e HOST=0.0.0.0 \
  claude-skills-mcp-backend --host 0.0.0.0 --port 8765

Dependencies

This package includes heavy dependencies (~250 MB):

  • PyTorch (CPU-only on Linux): ~150-200 MB
  • sentence-transformers: ~50 MB
  • numpy, httpx, fastapi, uvicorn: ~30 MB

First download may take 60-180 seconds depending on your internet connection.

Performance

  • Startup time: 2-5 seconds (with cached dependencies)
  • First search: +2-5 seconds (embedding model download, one-time)
  • Query time: <1 second after models loaded
  • Memory usage: ~500 MB

Development

# Clone the monorepo
git clone https://github.com/K-Dense-AI/claude-skills-mcp.git
cd claude-skills-mcp/packages/backend

# Install in development mode
uv pip install -e ".[test]"

# Run tests
uv run pytest tests/

Related Packages

License

Apache License 2.0

Copyright 2025 K-Dense AI (https://k-dense.ai)

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

claude_skills_mcp_backend-1.0.0.tar.gz (36.9 kB view details)

Uploaded Source

Built Distributions

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

claude_skills_mcp_backend-1.0.0-py3-none-any.whl (24.6 kB view details)

Uploaded Python 3

claude_skills_mcp_backend-1.0.0-1-py3-none-any.whl (32.2 kB view details)

Uploaded Python 3

File details

Details for the file claude_skills_mcp_backend-1.0.0.tar.gz.

File metadata

File hashes

Hashes for claude_skills_mcp_backend-1.0.0.tar.gz
Algorithm Hash digest
SHA256 4f952e4e7807ee4a533c4f85f7683b97a51dbbdda4c70c86a31ffc5e99e5689a
MD5 01006c70555c716d2d2416fc889abcf0
BLAKE2b-256 7e571613c16e454e4e185cc8907d4e66532e083bf33a4b152f454f7297b7f087

See more details on using hashes here.

File details

Details for the file claude_skills_mcp_backend-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for claude_skills_mcp_backend-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 113f1efb0517af4ec874681387e5ee6e7b61afb48eb36b3928bc2038e6292a79
MD5 38d6cae91de13097a2bfdd15f8f7539c
BLAKE2b-256 3028ade12b605aadc1757d72b479106a69b4e9aff76c02c8838b48b5347698d9

See more details on using hashes here.

File details

Details for the file claude_skills_mcp_backend-1.0.0-1-py3-none-any.whl.

File metadata

File hashes

Hashes for claude_skills_mcp_backend-1.0.0-1-py3-none-any.whl
Algorithm Hash digest
SHA256 33d7bc3cc6ffc477c722095d03c4585420bec9110090e83d611513cbcb9e22a1
MD5 e8c0833f874c5d870b02407d9f00eb19
BLAKE2b-256 03ee536f238da3e648d978e00ef477f0b8e2abf6032d4596ff1260e67eadc2fe

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