# @openfn/language-claude

> OpenFn adaptor for Claude

Latest version **1.2.1** (published 2026-09-03) · LGPLv3 license · 0 weekly downloads

## Install

```sh
npm install @openfn/language-claude
pnpm add @openfn/language-claude
yarn add @openfn/language-claude
bun add @openfn/language-claude
```

## Health

**Score 70/100 (B)** — status: active.

Positive: has types; esm support; no vulnerabilities; recently updated; high maintenance score; high quality score.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 1.2.1 |
| Published | 2026-09-03 |
| First published | 2025-03-06 |
| Weekly downloads | 0 |
| License | LGPLv3 |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 2 |
| Unpacked size | 70.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 26 |
| Author | Open Function Group |
| Maintainers | elias-ba, stuartc-openfn, taylordowns2000, mtuchi, jclark-openfn |

## Links

- npm: https://www.npmjs.com/package/@openfn/language-claude
- Repository: https://github.com/openfn/adaptors
- Homepage: https://github.com/openfn/adaptors#readme
- Issues: https://github.com/openfn/adaptors/issues
- npm.io page: https://npm.io/package/@openfn/language-claude

## Dependencies (2)

- [@anthropic-ai/sdk](https://npm.io/package/@anthropic-ai/sdk.md) ^0.106.0
- [@openfn/language-common](https://npm.io/package/@openfn/language-common.md) 3.3.5

## Recent versions

- 1.2.1 (latest) — 2026-09-03
- 1.2.0 — 2026-08-27
- 1.1.2 — 2026-06-30
- 1.1.1 — 2026-05-27
- 1.1.0 — 2026-05-21
- 1.0.24 — 2026-05-20
- 1.0.23 — 2026-04-07
- 1.0.22 — 2026-03-30
- 1.0.21 — 2026-02-24
- 1.0.20 — 2026-02-24
- 1.0.19 — 2026-01-30
- 1.0.18 — 2025-11-28
- 1.0.17 — 2025-11-12
- 1.0.16 — 2025-10-29
- 1.0.15 — 2025-10-16
- … 15 more at https://npm.io/package/@openfn/language-claude/versions

## README

# language-claude <img src='./assets/square.png' width="30" height="30"/>

An OpenFn **_adaptor_** for building integration jobs for use with the Anthropic
Claude API.

## Documentation

View the [docs site](https://docs.openfn.org/adaptors/packages/claude-docs) for
full technical documentation.

### Configuration

View the
[configuration-schema](https://docs.openfn.org/adaptors/packages/claude-configuration-schema/)
for required and optional `configuration` properties.

### A example expression using the `prompt` function

```js
prompt('Write a haiku about surfing.');
```

## Development

Clone the [adaptors monorepo](https://github.com/OpenFn/adaptors). Follow the
"Getting Started" guide inside to get set up.

Run tests using `pnpm run test` or `pnpm run test:watch`

Build the project using `pnpm build`.

To build _only_ the docs run `pnpm build docs`.

---
_Source: https://npm.io/package/@openfn/language-claude · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
