Skip to content

Conversation

ben-vargas
Copy link
Contributor

Description

This PR adds documentation for the ai-sdk-provider-claude-code community provider, which enables developers to access Claude models through their Claude Pro/Max subscription via the official Claude Code SDK/CLI.

What does this PR do?

  • Adds documentation for the Claude Code provider at content/providers/03-community-providers/99-claude-code.mdx
  • Updates the community providers list in content/docs/02-foundations/02-providers-and-models.mdx

Key Features

The Claude Code provider offers a unique approach to accessing Claude models:

  • No API key required - Uses existing Claude Pro/Max subscription
  • Built-in tool support - Access to Claude's native tools (Bash, Edit, Read, Write, etc.)
  • MCP server integration - Support for Model Context Protocol servers
  • Session-based permissions - Fine-grained tool permission management
  • Object generation - Supports generateObject and streamObject via prompt engineering

Notes

This provider is particularly useful for developers who already have a Claude subscription and want to use it with the Vercel AI SDK without managing API keys separately.

Testing

  • Documentation follows the existing community provider format
  • All installation methods (npm, pnpm, yarn) are documented
  • Model capabilities table accurately reflects the provider's features
  • Links to the provider repository are working

Add documentation for the ai-sdk-provider-claude-code community provider, which allows developers to access Claude models through their Pro/Max subscription via the official Claude Code SDK/CLI.

Key features:
- No API key required (uses Claude subscription)
- Built-in tool support (Bash, Edit, Read, Write, etc.)
- MCP server integration
- Session-based tool permission management
- Object generation support via prompt engineering

Changes:
- Add provider documentation at content/providers/03-community-providers/99-claude-code.mdx
- Update community providers list in content/docs/02-foundations/02-providers-and-models.mdx
@ben-vargas ben-vargas force-pushed the feat/docs-add-claude-code-community-provider branch from b9b5976 to b4f30e7 Compare July 8, 2025 08:38
@nicoalbanese
Copy link
Collaborator

nicoalbanese commented Jul 8, 2025

awesome @ben-vargas!

@nicoalbanese nicoalbanese merged commit b1e9756 into vercel:main Jul 8, 2025
7 of 8 checks passed
@ben-vargas
Copy link
Contributor Author

awesome @ben-vargas!

Thanks @nicoalbanese - I've created a similar community provider for the new gemini-cli - submitted another doc PR here in case you all would like to list that one too: #7143

@ben-vargas ben-vargas deleted the feat/docs-add-claude-code-community-provider branch July 31, 2025 22:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants