{"id":51867277,"url":"https://github.com/apify/apify-claude-code-plugin","last_synced_at":"2026-07-24T18:00:56.959Z","repository":{"id":371559215,"uuid":"1225546784","full_name":"apify/apify-claude-code-plugin","owner":"apify","description":null,"archived":false,"fork":false,"pushed_at":"2026-07-14T08:03:59.000Z","size":84,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-07-15T16:34:48.145Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/apify.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-04-30T11:46:33.000Z","updated_at":"2026-07-14T08:04:04.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/apify/apify-claude-code-plugin","commit_stats":null,"previous_names":["apify/apify-claude-code-plugin"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/apify/apify-claude-code-plugin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apify%2Fapify-claude-code-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apify%2Fapify-claude-code-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apify%2Fapify-claude-code-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apify%2Fapify-claude-code-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/apify","download_url":"https://codeload.github.com/apify/apify-claude-code-plugin/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apify%2Fapify-claude-code-plugin/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35850518,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-07-20T02:08:10.276Z","status":"online","status_checked_at":"2026-07-24T02:00:07.870Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-07-24T18:00:56.211Z","updated_at":"2026-07-24T18:00:56.950Z","avatar_url":"https://github.com/apify.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Apify for Claude Code\n\nOfficial Apify plugin for Claude Code — adds the Apify MCP server, one `apify` routing agent, and five bundled skills for the main Apify workflows: using existing Actors, building and deploying your own Actors, actorizing existing projects, generating Actor output schemas, and integrating Apify into existing applications.\n\n\u003e **Apify** is a platform of thousands of serverless cloud programs called **Actors** for web scraping, browser automation, and data extraction. Learn more at [apify.com](https://apify.com).\n\n## What you get\n\n| Component | Name | Purpose |\n|---|---|---|\n| Agent (entry point) | `apify` | Routes every Apify request to the right skill or transport path. **This is the one you should invoke.** |\n| MCP server | `apify` (`https://mcp.apify.com/`) | Lets the agent search the Apify Store, fetch Actor details, run Actors, and read the Apify docs. |\n| Skill | `apify-actor-development` | Create, debug, and deploy a brand new Apify Actor from scratch. |\n| Skill | `apify-actorization` | Convert an existing JS/TS, Python, or CLI project into an Apify Actor. |\n| Skill | `apify-generate-output-schema` | Generate `dataset_schema.json` / `output_schema.json` / `key_value_store_schema.json` for an existing Actor. |\n| Skill | `apify-sdk-integration` | Add Apify Actor execution to an existing application using the `apify-client` package. |\n| Skill | `apify-ultimate-scraper` | CLI-driven data extraction workflow for selecting, configuring, and running pre-built Actors across 15+ platforms. |\n\n## Installation\n\nAdd the Apify marketplace and install the plugin:\n\n```bash\n/plugin marketplace add apify/apify-claude-code-plugin\n/plugin install apify@apify\n```\n\nValidate the installation:\n\n```bash\n/plugin validate .\n```\n\n### Prerequisites\n\n- **Claude Code** CLI installed and authenticated.\n\n## First-run setup\n\nThe plugin uses **three setup paths** depending on what you're doing. The `apify` agent will guide you through the right one, but here is the high-level map.\n\n### Path 1 — Using existing Actors through MCP\n\nUses **OAuth**. The first time the agent calls a tool that needs auth (for example `run-actor` or `get-dataset-items`), Claude Code opens `console.apify.com` in your browser and asks you to sign in. Read-only tools such as `search-actors`, `fetch-actor-details`, `search-apify-docs`, and `fetch-apify-docs` work without auth.\n\n### Path 2 — CLI workflows for Actor development, actorization, or scraper runs\n\nThese skills expect the local `apify` CLI to be available. Install it first:\n\n```bash\nnpm install -g apify-cli\n```\n\nFor interactive use, authenticate with:\n\n```bash\napify login\n```\n\nIn headless or CI environments, export an **`APIFY_TOKEN`** instead; the CLI can read it automatically:\n\n```bash\nexport APIFY_TOKEN=\"apify_api_xxxxxxxxxxxx\"\n```\n\nGenerate a token at [console.apify.com/settings/integrations](https://console.apify.com/settings/integrations). Don't have an account? [Sign up free](https://console.apify.com/sign-up) — no credit card required.\n\n### Path 3 — SDK integration into an existing application\n\nUses an **`APIFY_TOKEN`** environment variable with the `apify-client` package or the REST API:\n\n```bash\nexport APIFY_TOKEN=\"apify_api_xxxxxxxxxxxx\"\n```\n\n### Working in headless / SSH environments (no browser)\n\nThe MCP OAuth flow needs a browser. If you're running Claude Code over SSH or in any environment without a browser, you have these options:\n\n1. **Authenticate locally first.** Run Claude Code once on your laptop so the OAuth refresh token is stored, then reconnect remotely.\n2. **Use the CLI-based skills.** `apify-actor-development`, `apify-actorization`, and `apify-ultimate-scraper` can work in headless environments when the `apify` CLI is installed and `APIFY_TOKEN` is exported.\n3. **Use the SDK integration skill.** `apify-sdk-integration` uses `apify-client` and only needs `APIFY_TOKEN`.\n\n## How to use it\n\nStart a Claude Code session and describe what you need. The `apify` agent reads the request, chooses between MCP, CLI, or SDK-based workflows, and dispatches to the right skill or tool.\n\n```\nfind me 5 well-rated coffee shops in Seattle and export to CSV\nbuild me an Actor that scrapes a sitemap and stores titles\nadd Apify to this Next.js app so I can run a scraper from /api/scrape\ngenerate output schemas for the Actor in this folder\n```\n\n## Components reference\n\n### MCP server\n\nThe `apify` MCP server is configured in `.mcp.json` and the agent uses it for Route 1 tasks. It exposes:\n\n- `search-actors` — search the Apify Store by keyword (no auth)\n- `fetch-actor-details` — Actor specs, input schema, pricing (no auth)\n- `run-actor` — execute an Actor and return results (OAuth)\n- `get-dataset-items` — retrieve dataset rows from a previous run (OAuth)\n- `search-apify-docs` / `fetch-apify-docs` — Apify documentation lookup\n\n### Bundled scripts\n\nThis plugin export does **not** include standalone helper scripts. Instead, the bundled skills ship with markdown references that the agent uses while working:\n\n- `skills/apify-actor-development/references/` — Actor config, schemas, logging, standby mode, and README guidance\n- `skills/apify-actorization/references/` — JS/TS, Python, and CLI actorization guides plus schema/output notes\n- `skills/apify-ultimate-scraper/references/` — Actor index, gotchas, and workflow playbooks for common scraping use cases\n\nThe executable requirements come from the skills themselves: Route 1 uses the MCP server, Route 2 relies on the local `apify` CLI, and Route 3 uses the `apify-client` SDK.\n\n## Troubleshooting\n\n**OAuth browser never opens / hangs.** See the \"Working in headless / SSH environments\" section above and switch to a CLI- or SDK-based path if needed.\n\n**`apify` CLI not found.** Install it with `npm install -g apify-cli` before using `apify-actor-development`, `apify-actorization`, or `apify-ultimate-scraper`.\n\n**`APIFY_TOKEN` not found.** Export `APIFY_TOKEN` in your shell before starting Claude Code when using headless CLI auth or the `apify-sdk-integration` skill.\n\n**The wrong skill keeps getting picked.** The five bundled skills are marked `user-invocable: false` and are meant to be routed through the `apify` agent. If routing looks wrong, describe the goal more explicitly: use existing Actors, build an Actor, actorize a project, generate output schemas, or integrate Apify into an app.\n\n**`apify` vs `apify-client`** — these are two different npm packages. The `apify` package is the SDK for **building** Actors (used inside an Actor's code, on the Apify platform). The `apify-client` package is the API client for **calling** Actors from your own application. The agent picks the right one for you; if you're installing manually, double-check.\n\n## Resources\n\n- Apify Console — [console.apify.com](https://console.apify.com)\n- Apify Store — [apify.com/store](https://apify.com/store)\n- Docs (LLM-friendly) — [docs.apify.com/llms.txt](https://docs.apify.com/llms.txt)\n- Docs (full) — [docs.apify.com/llms-full.txt](https://docs.apify.com/llms-full.txt)\n- Source repo — [github.com/apify/apify-claude-code-plugin](https://github.com/apify/apify-claude-code-plugin)\n- Issues / feedback — open an issue on the source repo, or email [support@apify.com](mailto:support@apify.com)\n\n## License\n\nApache-2.0. See [LICENSE](./LICENSE).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapify%2Fapify-claude-code-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fapify%2Fapify-claude-code-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapify%2Fapify-claude-code-plugin/lists"}