Plugin · Claude Code · LLM Integration

Yaniv Golan Affinity Sdk

yaniv-golan-affinity-sdk is a Claude Code plugin for the Build phase that connects agents to Affinity CRM through a typed Python SDK and an included MCP server.

by yaniv-golan · github.com/yaniv-golan/affinity-sdk

Wire Affinity CRM read/write automation into Claude Code via a typed Python SDK and bundled MCP tools.

0
GitHub stars
0
Installs
0
Community votes
One vote per signed-in builder - it helps surface the tools the community actually relies on.
Install

Add it to Claude Code

Install the plugin in Claude Code. One command, paste-ready.

Install the plugin
/plugin install yaniv-golan-affinity-sdk@yaniv-golan/affinity-sdk
Add to ClaudeUse the Agent APISkillselion is itself an MCP server - your agent can fetch this config directly.
Agent API

Built to be called by your agent

Skillselion is itself an MCP server. Your agent can pull this entry and a paste-ready install config straight from the API - no copy-paste.

Retrieve this entry with skillselion.get_details("plugin:yaniv-golan/affinity-sdk") and the paste-ready config with skillselion.get_install_config("plugin:yaniv-golan/affinity-sdk").

About

What it does

yaniv-golan-affinity-sdk is a Claude Code plugin bundle built around an unofficial, strongly typed Python SDK for the Affinity CRM API. Solo and indie builders who run deal flow, intros, or partner pipelines in Affinity install it when they need dependable programmatic access—create and update records, traverse lists, and script exports—without hand-rolling HTTP calls. Pydantic v2 models keep request and response shapes explicit for agents and for your own automation. The package goes further than a thin wrapper by including an MCP server tailored for Claude Code, so coding agents can query CRM state, draft updates, and orchestrate multi-step workflows from the editor. Async and sync clients, logging hooks, and pagination helpers suit one-person teams gluing CRM data into landing pages, internal tools, or growth experiments. Pick this when Affinity is your system of record and you want full API coverage with agent-native tooling rather than copy-paste from the web UI.

Highlights

  • Unofficial Affinity CRM API coverage with strongly typed Pydantic v2 models
  • Read and write operations beyond limited official MCP surface area
  • Bundled MCP server so agents can search lists, contacts, and pipelines in-session
  • Async/sync Python client patterns for scripts and long-running workflows
  • CLI-oriented workflows for export, filter, pagination, and relationship intelligence

Why builders use it

Official Affinity MCP and ad-hoc API scripts rarely give you complete, type-safe read/write CRM automation inside your coding agent.

After install, Claude Code can call Affinity lists, contacts, and pipelines with validated models and MCP tools aligned to real workflow scripts.

At a glance

  • Type - Plugin in LLM Integration.
  • Adoption - 0 installs, 0 stars, 0 votes.

FAQ

Who is yaniv-golan-affinity-sdk for?

It is for solo builders and small teams on Affinity who want Claude Code to read and write CRM data through a strongly typed Python SDK and MCP.

When should I use yaniv-golan-affinity-sdk?

Use it during Build when you are integrating Affinity into internal tools, automations, or agent workflows that need more than the official MCP.

How do I add yaniv-golan-affinity-sdk to my agent?

Register the plugin in Claude Code, configure Affinity API credentials per the repo docs, and enable the bundled MCP server alongside the Python client.

Discussion

Comments

Share how you use yaniv-golan-affinity-sdk, gotchas, or tips for other indie builders.

No comments yet - be the first to share how you use it.

This week for builders

Five minutes, every Monday — the tools, releases and tactics for shipping solo.

unsubscribe anytime.