Metadata-Version: 2.4
Name: migratecore
Version: 0.1.0
Summary: Migration plans for your Anthropic API spend. Cut your Claude bill.
Project-URL: Homepage, https://migratecore.com
Project-URL: Repository, https://github.com/paolomonasterolo/migratecore
Project-URL: Documentation, https://github.com/paolomonasterolo/migratecore/blob/main/docs/SPEC.md
Author: Paolo Monasterolo
License-Expression: Apache-2.0
License-File: LICENSE
Keywords: anthropic,claude,cost,finops,llm,migration
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Software Development
Classifier: Topic :: System :: Monitoring
Requires-Python: >=3.11
Requires-Dist: httpx>=0.27
Requires-Dist: rich>=13.7
Requires-Dist: typer>=0.12
Provides-Extra: dev
Requires-Dist: mypy>=1.10; extra == 'dev'
Requires-Dist: pytest>=8; extra == 'dev'
Requires-Dist: ruff>=0.5; extra == 'dev'
Description-Content-Type: text/markdown

# MigrateCore

> Cut your Claude bill. We tell you exactly what to migrate.

MigrateCore analyzes your Anthropic API usage and produces ranked, dollar-denominated migration plans across five categories: prompt caching, model routing, batch API, metadata tagging, and prompt deduplication.

It does not sit in your API request path, store your prompts, or modify your code. It reads your usage via the Anthropic Admin API, runs heuristics, and outputs a prioritized list of changes with dollar-impact estimates.

Full spec: [`docs/SPEC.md`](docs/SPEC.md).

## Install

```bash
pipx install migratecore
```

## Use

```bash
export ANTHROPIC_ADMIN_KEY=sk-ant-admin-...
mc analyze
```

```
MigrateCore — last 30 days
─────────────────────────────────────────────
  $4,217 / mo    addressable waste
   3 high-confidence migrations ready

  → cache    $2,140  /mo   (87 prompts, 12 endpoints)
  → model    $1,420  /mo   (Sonnet → Haiku, 4 endpoints)
  → batch      $657  /mo   (nightly digest job)

Run `mc plan cache` for the migration plan.
```

## License

CLI: Apache 2.0 — see [LICENSE](LICENSE).
Hosted Cloud version at [migratecore.com](https://migratecore.com): proprietary.

---

*MigrateCore is an independent project and is not affiliated with Anthropic, PBC. Claude® is a trademark of Anthropic, PBC.*
