Skip to content
PluginStats

@tanstack/ai-anthropic weekly downloads statistics

By tanstack (52 listings) · npm · AI SDKs

Anthropic Claude adapter for TanStack AI chat, tool calling, thinking, and structured outputs.

View on npm Fresh · Oct 17, 2026

@tanstack/ai-anthropic has 91,409 recorded weekly downloads on npm, an increase of 33.5% over the past 30 days.

It ranks #464 of 2,256 tracked npm listings by weekly downloads.

Over 90 days, weekly downloads changed by +78.2%.

PluginStats has 121 daily observations since Jun 19, 2026; the latest is from Oct 17, 2026.

Weekly downloads
91,409
Official API · Oct 17, 2026
7-day growth
-37.6%
-55K weekly downloads
30-day growth
+33.5%
+22.9K weekly downloads
90-day growth
+78.2%
+40.1K weekly downloads
Rank
#464
Among tracked npm listings

About @tanstack/ai-anthropic

@tanstack/ai-anthropic

Anthropic Claude adapter for TanStack AI chat, tool calling, thinking, and structured outputs

Installation

Setup

Set your API key as an environment variable:

Usage

Text/Chat Adapter

With Explicit API Key

With Tools

Thinking

Set how hard Claude thinks with reasoning on chat(). The adapter sends the right thinking fields for the model:

Models that think with a token budget, such as Claude Haiku 4.5, also take reasoning: { level: 'high', budgetTokens: 8000 }. The adapter raises max_tokens when it is below the budget. The types take only the levels and options of the selected model. See the docs for the levels of each model.

Prompt Caching

Mark a content part with cache_control to cache it:

Summarization

Provider Tools

Anthropic's native tools live on @tanstack/ai-anthropic/tools and go into chat({ tools }) alongside your own: webSearchTool, webFetchTool, codeExecutionTool, computerUseTool, bashTool, textEditorTool, memoryTool, and customTool.

Claude on Vertex AI

Install @anthropic-ai/vertex-sdk next to this package and import from @tanstack/ai-anthropic/vertex:

location is required (on the factory or via GOOGLE_CLOUD_LOCATION, GOOGLE_VERTEX_LOCATION, or CLOUD_ML_REGION); project can come from Application Default Credentials. Only the Claude models in the Vertex catalog are accepted.

Features

• ✅ Streaming chat • ✅ Function/tool calling and Anthropic's native provider tools • ✅ Extended and adaptive thinking • ✅ Structured output • ✅ Prompt caching • ✅ Summarization (anthropicSummarize) • ✅ Claude on Vertex AI (@tanstack/ai-anthropic/vertex)

Documentation

• Anthropic adapter: configuration, per-model thinking rules, every provider tool, and the API reference • Provider Tools: the concept, comparison matrix, and which models support which tools

License

MIT

Description from the npm listing.

  • ai
  • ai-sdk
  • typescript
  • tanstack
  • anthropic
  • claude
  • adapter
  • chat
  • tool-calling
  • structured-outputs
  • thinking

Where @tanstack/ai-anthropic sits in the listing

Each band is one page of 20. Weekly downloads on a log scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.

All npm2,256 listings · 113 pages · page 24, #4 (overall #464)
All npm: every listing in weekly downloads order
PNG SVG
AI SDKs250 listings · 13 pages · page 2, #1 (overall #21)
AI SDKs: every listing in weekly downloads order
PNG SVG

Charts

Images: 30d · 1y · all time · 1600×900 dark

Adoption over time

@tanstack/ai-anthropic weekly downloads on npm, last 90 days: 91,409 weekly downloads as of Oct 17, 2026, +78.2% over 90 days.@tanstack/ai-anthropicWeekly downloads on npm · Last 90 days91,409downloads / week+78.2% over 90 days050K100K150K200KJul 19Aug 3Aug 18Sep 2Sep 17Oct 2Oct 17downloads / weekobservedarchived (Internet Archive)no observationsJul 21, 2026 – Oct 17, 2026 · 89 observations · Updated Oc…pluginstats.com
@tanstack/ai-anthropic weekly downloads on npm, last 90 days: 91,409 weekly downloads as of Oct 17, 2026, +78.2% over 90 days.
PNG SVG

7/30/90-day growth

@tanstack/ai-anthropic weekly downloads growth on npm: -37.6% over 7 days, +33.5% over 30 days, +78.2% over 90 days.@tanstack/ai-anthropicWeekly downloads growth on npm91,409downloads / week now7-day growth-55,034 weekly downloads-37.6%30-day growth+22,945 weekly downloads+33.5%90-day growth+40,101 weekly downloads+78.2%Growth vs. nearest observation to each baseline date · Updated Oct 17, 2026pluginstats.com
@tanstack/ai-anthropic weekly downloads growth on npm: -37.6% over 7 days, +33.5% over 30 days, +78.2% over 90 days.
PNG SVG

Ranking history

@tanstack/ai-anthropic npm ranking history: currently #464 (by weekly downloads).@tanstack/ai-anthropicnpm ranking · by weekly downloads · Last 90 days#464current rank#462#463#464#465#466Jul 21Aug 5Aug 20Sep 4Sep 19Oct 4Oct 19rankOct 18, 2026 – Oct 19, 2026 · 2 observations · Updated Oct 17, 2026pluginstats.com
@tanstack/ai-anthropic npm ranking history: currently #464 (by weekly downloads).
PNG SVG

Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.

Recent observations

Full history (121)
Recent weekly downloads observations for @tanstack/ai-anthropic
Date (UTC)Weekly downloadsChange vs. previous
91,409-20.7K
112,075+11K
101,068-28.5K
129,603-28.9K
158,5230
158,523+9.8K
148,699+2.3K
146,443-803
147,246-10.4K
157,646-1.6K
159,279+485
158,794-26.1K
184,905+1.7K
183,169—

Similar npm AI SDKs plugins

Data source

Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.

Listing: https://www.npmjs.com/package/@tanstack/ai-anthropic. First seen Oct 16, 2026; last successful collection Oct 19, 2026. See the methodology.