The Airtable MCP server is a powerful integration tool that allows AI assistants to interact directly with your Airtable bases. It provides comprehensive functionality for managing Airtable data, including CRUD operations, webhook management, schema discovery, and AI-powered analytics through a Model Context Protocol interface.
Personal Access Token: Visit Airtable Account and create a token with these scopes:
data.records:read
- Read records from tablesdata.records:write
- Create, update, delete recordsschema.bases:read
- View table schemasschema.bases:write
- Create/modify tables and fieldswebhook:manage
- (Optional) For webhook featuresBase ID: Open your Airtable base and copy the ID from the URL:
https://airtable.com/[BASE_ID]/...
# Install with TypeScript support
npm install -g @rashidazarang/airtable-mcp
# For development with types
npm install --save-dev typescript @types/node
Option A: Install via NPM (Recommended)
npm install -g @rashidazarang/airtable-mcp
Option B: Clone from GitHub
git clone https://github.com/rashidazarang/airtable-mcp.git
cd airtable-mcp
npm install
Create a .env
file in your project directory:
AIRTABLE_TOKEN=your_personal_access_token_here
AIRTABLE_BASE_ID=your_base_id_here
Security Note: Never commit .env
files to version control!
Add to your Claude Desktop configuration file:
MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\\Claude\\claude_desktop_config.json
{
"mcpServers": {
"airtable-typescript": {
"command": "npx",
"args": [
"@rashidazarang/airtable-mcp",
"--token",
"YOUR_AIRTABLE_TOKEN",
"--base",
"YOUR_BASE_ID"
],
"env": {
"NODE_ENV": "production",
"LOG_LEVEL": "INFO"
}
}
}
}
Add to your Claude Desktop configuration file:
{
"mcpServers": {
"airtable": {
"command": "npx",
"args": [
"@rashidazarang/airtable-mcp",
"--token",
"YOUR_AIRTABLE_TOKEN",
"--base",
"YOUR_BASE_ID"
]
}
}
}
{
"mcpServers": {
"airtable": {
"command": "npx",
"args": ["@rashidazarang/airtable-mcp"],
"env": {
"AIRTABLE_TOKEN": "YOUR_AIRTABLE_TOKEN",
"AIRTABLE_BASE_ID": "YOUR_BASE_ID"
}
}
}
}
After configuration, restart Claude Desktop or your MCP client to load the Airtable server.
import {
AirtableMCPServer,
ListRecordsInput,
AnalyzeDataPrompt
} from '@rashidazarang/airtable-mcp/types';
const server = new AirtableMCPServer();
// Type-safe data operations
const params: ListRecordsInput = {
table: 'Tasks',
maxRecords: 10,
filterByFormula: "Status = 'Active'"
};
const records = await server.handleToolCall('list_records', params);
// Type-safe AI analytics
const analysis: AnalyzeDataPrompt = {
table: 'Sales',
analysis_type: 'predictive',
confidence_level: 0.95
};
const insights = await server.handlePromptGet('analyze_data', analysis);
Basic Operations
"Show me all records in the Projects table"
"Create a new task with priority 'High' and due date tomorrow"
"Update the status of task ID rec123 to 'Completed'"
"Delete all records where status is 'Archived'"
"What tables are in my base?"
"Search for records where Status equals 'Active'"
Webhook Operations
"Create a webhook for my table that notifies https://my-app.com/webhook"
"List all active webhooks in my base"
"Show me the recent webhook payloads"
"Delete webhook ach123xyz"
Schema Management
"List all my accessible Airtable bases"
"Show me the complete schema for this base"
"Describe the Projects table with all field details"
"Create a new table called 'Tasks' with Name, Priority, and Due Date fields"
"Add a Status field to the existing Projects table"
"What field types are available in Airtable?"
Batch Operations & Attachments
"Create 5 new records at once in the Tasks table"
"Update multiple records with new status values"
"Delete these 3 records in one operation"
"Attach this image URL to the record's photo field"
"Who are the collaborators on this base?"
"Show me all shared views in this base"
For cloud-hosted MCP servers:
{
"mcpServers": {
"airtable": {
"command": "npx",
"args": [
"@smithery/cli",
"run",
"@rashidazarang/airtable-mcp",
"--token",
"YOUR_TOKEN",
"--base",
"YOUR_BASE_ID"
]
}
}
}
If you cloned the repository:
{
"mcpServers": {
"airtable": {
"command": "node",
"args": [
"/path/to/airtable-mcp/airtable_simple.js",
"--token",
"YOUR_TOKEN",
"--base",
"YOUR_BASE_ID"
]
}
}
}
If port 8010 is in use:
lsof -ti:8010 | xargs kill -9
To add this MCP server to Claude Code, run this command in your terminal:
claude mcp add-json "airtable-mcp" '{"command":"npx","args":["@smithery/cli","run","@rashidazarang/airtable-mcp","--token","YOUR_AIRTABLE_TOKEN","--base","YOUR_BASE_ID"]}'
See the official Claude Code MCP documentation for more details.
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.
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-mcp": {
"command": "npx",
"args": [
"@smithery/cli",
"run",
"@rashidazarang/airtable-mcp",
"--token",
"YOUR_AIRTABLE_TOKEN",
"--base",
"YOUR_BASE_ID"
]
}
}
}
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.
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.
To add this MCP server to Claude Desktop:
1. Find your configuration file:
~/Library/Application Support/Claude/claude_desktop_config.json
%APPDATA%\Claude\claude_desktop_config.json
~/.config/Claude/claude_desktop_config.json
2. Add this to your configuration file:
{
"mcpServers": {
"airtable-mcp": {
"command": "npx",
"args": [
"@smithery/cli",
"run",
"@rashidazarang/airtable-mcp",
"--token",
"YOUR_AIRTABLE_TOKEN",
"--base",
"YOUR_BASE_ID"
]
}
}
}
3. Restart Claude Desktop for the changes to take effect