Integration

Affinity integration

Relationship intelligence CRM API for deal flow management and network tracking. Manage persons, organizations, opportunities, and lists. Features include relationship strength scoring, interaction tracking, custom fields, notes, and automated data enrichment. Perfect for venture capital, private equity, investment banking, and professional services firms managing relationships and deals.

Ask it in chat

Say what should happen.
The workflow builds itself.

When this happens, do that in Affinity.Built from the 60 Affinity tools below, on the connection you add once.

Common Affinity use cases

  • relationship analysis
  • form building
  • schema discovery
  • data cleanup
  • note display
  • note editing
  • file download
  • integration setup
  • interaction history
  • removing duplicates

What you can do with Affinity

Each of these is one operation on one endpoint, available both as a workflow step and as a tool an AI agent can call on its own. Nothing bundles several operations into one action, so what a run did stays readable afterwards.

Each badge shows the default agent permission of an endpoint (allowed: an agent calls it without asking; ask first: you are asked before an agent calls it, when the agent or chat asks permission for sensitive actions; never: no agent may call it), which every user can change endpoint by endpoint in their credential settings.

Most endpoints run on the free plan. A few, mainly the ones that publish on your behalf, need a paid plan.

Entity file, 5 operations

  • delete_entity_fileDelete entity fileDELETEAgents: ask firstDeletes a file attachment. Cannot be undone.
  • download_entity_fileDownload entity fileGETAgents: ask firstDownloads a file attachment.
  • get_entity_fileGet entity fileGETAgents: ask firstRetrieves file attachment details.
  • list_entity_filesList entity filesGETAgents: ask firstLists files attached to an entity.
  • upload_entity_fileUpload entity filePOSTAgents: ask firstUploads and attaches a file. Send as multipart/form-data.

Field, 5 operations

  • create_fieldCreate fieldPOSTAgents: ask firstCreates a custom field on a list.
  • delete_fieldDelete fieldDELETEAgents: ask firstDeletes a field and all values. Cannot be undone.
  • get_organization_fieldsGet organization fieldsGETAgents: ask firstLists global organization field definitions.
  • get_person_fieldsGet person fieldsGETAgents: ask firstLists global person field definitions.
  • list_fieldsList fieldsGETAgents: ask firstLists field definitions for a list or all lists.

Interaction, 5 operations

  • create_interactionCreate interactionPOSTAgents: ask firstCreates a new interaction (email, meeting, or chat). Required: type, date. Associate with persons, organizations, or opportunities via their ID arrays.
  • delete_interactionDelete interactionDELETEAgents: ask firstDeletes an interaction by ID.
  • get_interactionGet interactionGETAgents: ask firstRetrieves a specific interaction by ID. Returns interaction type, date, and associated persons, organizations, and opportunities.
  • list_interactionsList interactionsGETAgents: ask firstLists email, meeting, and chat interactions.
  • update_interactionUpdate interactionPUTAgents: ask firstUpdates an existing interaction's date or entity associations.

Note, 5 operations

  • create_noteCreate notePOSTAgents: ask firstCreates a note attached to persons, organizations, and/or opportunities. Notes can be linked to multiple entities. Supports different note types for meetings, calls, and other interactions.
  • delete_noteDelete noteDELETEAgents: ask firstDeletes a note. Cannot be undone.
  • get_noteGet noteGETAgents: ask firstRetrieves a note with content and linked entities.
  • list_notesList notesGETAgents: ask firstLists notes for an entity.
  • update_noteUpdate notePUTAgents: ask firstUpdates note content or entity links.

Opportunity, 5 operations

  • create_opportunityCreate opportunityPOSTAgents: ask firstCreates a new opportunity. Required: name.
  • delete_opportunityDelete opportunityDELETEAgents: ask firstDeletes an opportunity. Cannot be undone.
  • get_opportunityGet opportunityGETAgents: ask firstRetrieves deal details with linked persons and organizations.
  • list_opportunitiesList opportunitiesGETAgents: ask firstLists all opportunities (deals) in Affinity. Search by name. Each opportunity can be linked to persons and organizations. Returns opportunity details and list memberships.
  • update_opportunityUpdate opportunityPUTAgents: ask firstUpdates opportunity info.

Organization, 5 operations

  • create_organizationCreate organizationPOSTAgents: ask firstCreates a new organization. Required: name. Optional: domain, person_ids.
  • delete_organizationDelete organizationDELETEAgents: ask firstDeletes an organization. Cannot be undone.
  • get_organizationGet organizationGETAgents: ask firstRetrieves detailed organization/company information. Returns name, domain, linked persons, list memberships, and interaction intelligence. Use for company profiles and relationship analysis.
  • list_organizationsList organizationsGETAgents: ask firstLists all organizations (companies) in Affinity. Search by name or domain. Returns company details, linked persons, and optionally interaction history. Essential for company directory and deal sourcing.
  • update_organizationUpdate organizationPUTAgents: ask firstUpdates organization info. Include only fields to change.

Person, 5 operations

  • create_personCreate personPOSTAgents: ask firstCreates a new person in Affinity. Required: first_name. Optional: last_name, emails array, phone_numbers array, organization_ids to link to companies. Returns created person with ID.
  • delete_personDelete personDELETEAgents: ask firstDeletes a person from Affinity. Removes from all lists and their list entries. Interaction history with other entities may be preserved. This action cannot be undone.
  • get_personGet personGETAgents: ask firstRetrieves detailed information about a specific person. Returns contact details, linked organizations, list memberships, and optionally interaction history. Use with_interaction_dates and with_interaction_persons for relationship intelligence data.
  • list_personsList personsGETAgents: ask firstLists all persons in your Affinity database. Search by name or email using term parameter. Enable with_interaction_dates to include last email, meeting, and interaction times. Returns paginated results with contact details and field values.
  • update_personUpdate personPUTAgents: ask firstUpdates a person's information. Include only fields to change. Can modify name, emails, phone numbers, and organization links. Returns updated person object.

Reminder, 5 operations

  • create_reminderCreate reminderPOSTAgents: ask firstCreates a reminder linked to an entity.
  • delete_reminderDelete reminderDELETEAgents: ask firstDeletes a reminder. Cannot be undone.
  • get_reminderGet reminderGETAgents: ask firstRetrieves a specific reminder.
  • list_remindersList remindersGETAgents: ask firstLists all reminders for the authenticated user.
  • update_reminderUpdate reminderPUTAgents: ask firstUpdates a reminder.

Webhook, 5 operations

  • create_webhook_subscriptionCreate webhook subscriptionPOSTAgents: ask firstCreates a webhook. Max 3 per instance. 21 event types.
  • delete_webhook_subscriptionDelete webhook subscriptionDELETEAgents: ask firstDeletes a webhook subscription.
  • get_webhook_subscriptionGet webhook subscriptionGETAgents: ask firstRetrieves webhook details.
  • list_webhook_subscriptionsList webhook subscriptionsGETAgents: ask firstLists all webhooks. Max 3 per instance.
  • update_webhook_subscriptionUpdate webhook subscriptionPUTAgents: ask firstUpdates webhook URL or events.

Field value, 4 operations

  • create_field_valueCreate field valuePOSTAgents: ask firstCreates a new field value.
  • delete_field_valueDelete field valueDELETEAgents: ask firstDeletes a field value.
  • list_field_valuesList field valuesGETAgents: ask firstRetrieves field values for an entity or list entry.
  • update_field_valueUpdate field valuePUTAgents: ask firstUpdates an existing field value.

List entry, 4 operations

  • create_list_entryCreate list entryPOSTAgents: ask firstAdds an entity (person, organization, or opportunity) to a list. Specify entity_id and entity_type matching the list type. Returns created list entry with ID for subsequent field value updates.
  • delete_list_entryDelete list entryDELETEAgents: ask firstRemoves entry from list. Entity is preserved.
  • get_list_entryGet list entryGETAgents: ask firstRetrieves a specific list entry with entity data and field values.
  • list_list_entriesList list entriesGETAgents: ask firstRetrieves all entries in a list with their field values. Each entry represents a person, organization, or opportunity on that list. Returns entry ID, entity ID, and all custom field values.

List, 3 operations

  • create_listCreate listPOSTAgents: ask firstCreates a new list. Required: name, type, is_public.
  • get_listGet listGETAgents: ask firstRetrieves detailed list information including complete field definitions. Returns list type, size, all custom fields with their configuration. Essential for building dynamic forms and understanding list schema.
  • list_listsList listsGETAgents: ask firstLists all lists in your Affinity workspace. Returns list names, types (person/organization/opportunity), field definitions, and entry counts. Essential for understanding your CRM structure.

Field value change, 1 operation

  • list_field_value_changesList field value changesGETAgents: ask firstRetrieves change history for a field.

Rate limit, 1 operation

  • get_rate_limitGet rate limitGETAgents: ask firstRetrieves current rate limit usage and quotas for your API key. Returns monthly, per-minute, and concurrent request limits.

Relationship strength, 1 operation

  • get_relationship_strengthsGet relationship strengthsGETAgents: ask firstRetrieves relationship strength scores showing how connected your team is to a person or organization. Scores are calculated from email and meeting frequency. Returns scores per team member.

User, 1 operation

  • whoamiWhoamiGETAgents: ask firstReturns authenticated user info. Verifies API key.

Use Affinity from Claude Code, Cursor or Codex

Connect Affinity in LiveContext, create an API key in Settings, then add the LiveContext MCP server to your client. Its Affinity operations become tools the client can call, next to every other integration you connected.

Claude Code
claude mcp add --transport http livecontext https://livecontext.ai/mcp --header "X-API-Key: YOUR_API_KEY"
Codex (~/.codex/config.toml)
[mcp_servers.livecontext]
url = "https://livecontext.ai/mcp"

[mcp_servers.livecontext.http_headers]
"X-API-Key" = "YOUR_API_KEY"
Cursor, Claude Desktop and other JSON configs
{
  "mcpServers": {
    "livecontext": {
      "type": "http",
      "url": "https://livecontext.ai/mcp",
      "headers": {
        "X-API-Key": "YOUR_API_KEY"
      }
    }
  }
}

Set up the MCP server step by step

How to connect Affinity

  1. Create your workspace

    Sign up free. Nothing to install.

  2. Connect Affinity once

    Add your Affinity connection in Settings. Every tool from this integration reuses it, and secrets are encrypted at rest and visible only to you.

  3. Describe the job in chat

    The workflow builds itself in front of you and picks the endpoints it needs. Drag the steps yourself on the canvas whenever you would rather be explicit.

Affinity integration FAQ

What can you do with the Affinity integration?

LiveContext exposes 60 operations on Affinity, covering entity file, field, interaction and note. Common uses include relationship analysis, form building and schema discovery.

Popular integrations

Browse the whole catalog