Airtable MCP server

Bridges AI code editors with Airtable databases, enabling direct access to tables, records, and schemas through a Python-based server that exposes Airtable operations as tools for listing bases, querying tables, and managing data relationships.
Back to servers
Setup instructions
Provider
Rashid Azarang
Release date
Mar 19, 2025
Language
Python
Stats
2 stars

This MCP server connects your AI tools directly to Airtable, allowing you to query, create, update, and delete records using natural language. It handles base management, table operations, schema manipulation, record filtering, and data migration through a standardized interface compatible with Claude-powered editors like Cursor, Cline, and Zed.

Installation

Prerequisites

  • Node.js 14+
  • Python 3.10+ (automatically detected)
  • Airtable API token
  • A compatible MCP client (Cursor, Claude Desktop, etc.)

Smithery Installation (Recommended)

The easiest way to install:

  1. Visit Smithery
  2. Search for "@rashidazarang/airtable-mcp"
  3. Click "Install" and follow the prompts

Quick Setup with NPX

Another fast way to get started:

# Install globally
npm install -g airtable-mcp

# Or run directly with npx
npx airtable-mcp --token "your_airtable_token" --base "your_base_id"

Configure Your MCP Client

For Cursor, update your ~/.cursor/mcp.json file:

{
  "mcpServers": {
    "airtable-tools": {
      "command": "npx",
      "args": [
        "airtable-mcp",
        "--token", "your_airtable_token",
        "--base", "your_base_id"
      ]
    }
  }
}

Restart your MCP client to load the new tools.

Manual Installation

If you prefer to clone the repository and install manually:

  1. Clone this repository:

    git clone https://github.com/rashidazarang/airtable-mcp.git
    cd airtable-mcp
    
  2. Install dependencies:

    pip install -r requirements.txt
    
  3. Run the server:

    python airtable_mcp/src/server.py --token "your_airtable_token" --base "your_base_id"
    

Usage

Once installed and configured, you can use natural language to interact with your Airtable data:

  • "Show me all the bases I have access to"
  • "List the tables in my current base"
  • "Show me the structure of the Customers table"
  • "Get the first 10 records from the Orders table"
  • "Create a new record in the Products table"
  • "Update record XYZ in the Inventory table"
  • "Export the schema of my current base"

Available Tools

The server provides these tools for interacting with Airtable:

Tool Name Description
list_bases List all accessible Airtable bases
list_tables List all tables in the specified or default base
list_records List records from a table with optional filtering
get_record Get a specific record from a table
create_records Create records in a table from JSON string
update_records Update records in a table from JSON string
delete_records Delete records from a table by IDs
export_records Export records from a table as JSON string
import_records Import records to a table from JSON string
create_tables Create tables from a JSON schema
update_schema Update existing tables to match a JSON schema
set_base_id Set the current Airtable base ID
inspect_table Get detailed information about a table's structure and fields
export_schema Export the schema of the current base in JSON or CSV format
compare_schemas Compare the provided schema with the current base schema
generate_field_mapping Generate a field mapping between two tables
migrate_data Migrate data from one table to another using the specified field mapping

PM2 Configuration

For production use, you can use PM2 to manage the Airtable MCP server:

// ecosystem.config.js
module.exports = {
  apps: [
    {
      name: 'airtable-mcp',
      script: 'npx',
      args: [
        'airtable-mcp',
        '--token', 'your_airtable_token',
        '--base', 'your_base_id'
      ],
      interpreter: '/usr/local/bin/node',
      env: {
        PATH: process.env.PATH,
      },
    },
  ],
};

Start with:

pm2 start ecosystem.config.js

How to install this MCP server

For Claude Code

To add this MCP server to Claude Code, run this command in your terminal:

claude mcp add-json "airtable-tools" '{"command":"npx","args":["airtable-mcp","--token","your_airtable_token","--base","your_base_id"]}'

See the official Claude Code MCP documentation for more details.

For Cursor

There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json file so that it is available in all of your projects.

If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json file.

Adding an MCP server to Cursor globally

To add a global MCP server go to Cursor Settings > Tools & Integrations and click "New MCP Server".

When you click that button the ~/.cursor/mcp.json file will be opened and you can add your server like this:

{
    "mcpServers": {
        "airtable-tools": {
            "command": "npx",
            "args": [
                "airtable-mcp",
                "--token",
                "your_airtable_token",
                "--base",
                "your_base_id"
            ]
        }
    }
}

Adding an MCP server to a project

To add an MCP server to a project you can create a new .cursor/mcp.json file or add it to the existing one. This will look exactly the same as the global MCP server example above.

How to use the MCP server

Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.

The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.

You can also explicitly ask the agent to use the tool by mentioning the tool name and describing what the function does.

For Claude Desktop

To add this MCP server to Claude Desktop:

1. Find your configuration file:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
  • Linux: ~/.config/Claude/claude_desktop_config.json

2. Add this to your configuration file:

{
    "mcpServers": {
        "airtable-tools": {
            "command": "npx",
            "args": [
                "airtable-mcp",
                "--token",
                "your_airtable_token",
                "--base",
                "your_base_id"
            ]
        }
    }
}

3. Restart Claude Desktop for the changes to take effect

Want to 10x your AI skills?

Get a free account and learn to code + market your apps using AI (with or without vibes!).

Nah, maybe later