Skip to main content

MCP server for the Loreto skill generation API — use generate_skills inside Claude Code

Project description

loreto-mcp

MCP server for the Loreto skill generation API.

Gives Claude Code (and other MCP-compatible agents) a generate_skills tool that extracts structured skill packages from any YouTube video, article, PDF, or image — directly inside your coding session.


What this does

When connected, Claude Code can call:

  • generate_skills — Extract ranked skill packages from a URL. Each skill comes back as a SKILL.md, README.md, reference files, and a test script. Save them to .claude/skills/ and Claude will apply them automatically on future tasks.
  • get_quota — Check how many API calls remain in your current billing period.

Setup

1. Get an API key

Sign up at loreto.io to get your free API key (lor_...).

2. Install

pip install loreto-mcp

Or use directly without installing (requires uv):

uvx loreto-mcp

3. Configure Claude Code

User-scoped (works across all your projects) — add to ~/.claude/mcp.json:

{
  "mcpServers": {
    "loreto": {
      "command": "uvx",
      "args": ["loreto-mcp"],
      "env": {
        "LORETO_API_KEY": "lor_..."
      }
    }
  }
}

Project-scoped (shared with your team) — add to .mcp.json at your project root:

{
  "mcpServers": {
    "loreto": {
      "command": "uvx",
      "args": ["loreto-mcp"],
      "env": {
        "LORETO_API_KEY": "${LORETO_API_KEY}"
      }
    }
  }
}

Then set LORETO_API_KEY in your shell environment and teammates do the same with their own keys.

4. Verify

Restart Claude Code and run /mcp — you should see loreto listed with generate_skills and get_quota.


Usage

Once connected, just ask Claude Code naturally:

Use Loreto to extract skills from https://www.youtube.com/watch?v=...
Check my Loreto quota before we start.
Extract skills from this article and save them to .claude/skills/

Claude will call generate_skills, receive the full skill package contents, and can write them directly to your project.


Configuration

Environment variable Required Default Description
LORETO_API_KEY Yes Your Loreto API key (lor_...)
LORETO_BASE_URL No https://api.loreto.io Override for local development

Plans

Free and paid plans are available. See loreto.io/pricing for current limits.


License

MIT

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

loreto_mcp-0.1.1.tar.gz (6.1 kB view details)

Uploaded Source

Built Distribution

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

loreto_mcp-0.1.1-py3-none-any.whl (6.5 kB view details)

Uploaded Python 3

File details

Details for the file loreto_mcp-0.1.1.tar.gz.

File metadata

  • Download URL: loreto_mcp-0.1.1.tar.gz
  • Upload date:
  • Size: 6.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.5

File hashes

Hashes for loreto_mcp-0.1.1.tar.gz
Algorithm Hash digest
SHA256 ffd0d5f9bdbd22a43bd506d4e323c2f31856777eb8adda2f854ee131ed5004a4
MD5 c054595169c2c690fe7e577b36311338
BLAKE2b-256 204f3b1fa1fe8d09acb335bb414ae7c69a86514469ecd159c81a59bba516c1a4

See more details on using hashes here.

File details

Details for the file loreto_mcp-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: loreto_mcp-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 6.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.5

File hashes

Hashes for loreto_mcp-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9a6d24f7f032b76efdc4aaa785696dd0ababef5a082afe2aea7054fbc32a271e
MD5 11856a682caae57ab3d61ecd4a748837
BLAKE2b-256 d8f3e8257a643cbb719eaf76b1daab26489c68b641aa2f257afdc3160b32b503

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