Tools/littledivy/mimic

mimic

Intercept any app, then call it from Python like a library

2.6k ★+463/wkemergingPythonMIT License →new this week

The Lens

By Erik Loyd, SaaS CEO and former COO/CFO of an AWS Premier Partner.

Updated Oct 2026

mimic turns a mobile or web app's private API into a Python client. You capture your own traffic through mitmproxy (an iPhone via proxy, web apps via copied cURL or a HAR file), it pulls out the tokens and session details, and Claude Code (or opencode) writes a plain Python client you can script against. MIT licensed, from Divy Srivastava of Deno.

Clone the repo and run sh install.sh, which installs uv and mimic in an isolated environment; mitmproxy launches on first record. Don't use the manual uv tool install mimic-client line: that package isn't on PyPI, so the name is open for anyone to grab. The flow is record, hosts, learn, then gen, with a doctor command to check setup.

Free, no paid tier; code generation uses your own Claude Code or opencode login. Solo developers automating their own accounts are the whole audience. It replays your session, and the README is explicit: your own accounts only, and each app's terms are your problem.

The catch: it ships mimic unpin, a Frida-based certificate-pinning bypass that names banking apps and Instagram as examples, which takes it further into terms-of-service trouble than the pitch suggests. Apps using sender-constrained tokens (DPoP) still block it. And the repo has been quiet since late July.

Free vs Self-Hosted vs Paid

fully free

Free: Everything. MIT licensed.

Self-hosted: Runs locally. Install from a git clone with install.sh (installs uv; mitmproxy runs via uvx on first record). The documented PyPI package name mimic-client is not published, so avoid installing it by name.

Paid: None. Code generation shells out to your logged-in Claude Code or opencode CLI, so it uses your existing subscription.

Free under MIT. Code generation spends your own Claude Code or opencode usage.

What to do by team size

Solo
free for your own accounts
Small team
Skip for shared use; it replays personal sessions
Medium team
Skip
Large team
Skip; pinning bypass and terms risk
Self-hosting ops:moderate

Get tools like this every Wednesday

One featured tool, three on the radar. No fluff.

Score
62/100 · B
Adoption17/30
Maintenance15/25
Community5/20
License15/15
Analysis10/10

A low score is not a verdict on quality. Young and niche tools start low by design. How we calculate scores

License: MIT License

Use freely, including commercial. Just keep the license.

Commercial use: ✓ Yes

About

Owner
Divy Srivastava (User)
Stars
2,619
Forks
297

Explore Further

More tools in the directory