airtable-mcp-server
ðïžð€ Airtable Model Context Protocol Server, for allowing AI systems to interact with your Airtable bases
GitHubã¹ã¿ãŒ
219
ãŠãŒã¶ãŒè©äŸ¡
æªè©äŸ¡
ãã©ãŒã¯
62
ã€ã·ã¥ãŒ
4
é²èЧæ°
1
ãæ°ã«å ¥ã
0
airtable-mcp-server
A Model Context Protocol server that provides read and write access to Airtable databases. This server enables LLMs to inspect database schemas, then read and write records.
https://github.com/user-attachments/assets/c8285e76-d0ed-4018-94c7-20535db6c944
Installation
Step 1: Create an Airtable personal access token by clicking here. Details:
- Name: Anything you want e.g. 'Airtable MCP Server Token'.
- Scopes:
schema.bases:read
,data.records:read
, and optionallyschema.bases:write
anddata.records:write
. - Access: The bases you want to access. If you're not sure, select 'Add all resources'.
Keep the token handy, you'll need it in the next step. It should look something like pat123.abc123
(but longer).
Step 2: Follow the instructions below for your preferred client:
Claude Desktop
(Recommended) Via the extensions browser
- Open Claude Desktop and go to Settings â Extensions
- Click 'Browse Extensions' and find 'Airtable MCP Server'
- Click 'Install' and paste in your API key
(Advanced) Alternative: Via manual .dxt installation
- Find the latest dxt build in the GitHub Actions history (the top one)
- In the 'Artifacts' section, download the
airtable-mcp-server-dxt
file - Rename the
.zip
file to.dxt
- Double-click the
.dxt
file to open with Claude Desktop - Click "Install" and configure with your API key
(Advanced) Alternative: Via JSON configuration
- Install Node.js
- Open Claude Desktop and go to Settings â Developer
- Click "Edit Config" to open your
claude_desktop_config.json
file - Add the following configuration to the "mcpServers" section, replacing
pat123.abc123
with your API key:
{
"mcpServers": {
"airtable": {
"command": "npx",
"args": [
"-y",
"airtable-mcp-server"
],
"env": {
"AIRTABLE_API_KEY": "pat123.abc123",
}
}
}
}
- Save the file and restart Claude Desktop
Cursor
(Recommended) Via one-click install
(Advanced) Alternative: Via JSON configuration
Create either a global (~/.cursor/mcp.json
) or project-specific (.cursor/mcp.json
) configuration file, replacing pat123.abc123
with your API key:
{
"mcpServers": {
"airtable": {
"command": "npx",
"args": ["-y", "airtable-mcp-server"],
"env": {
"AIRTABLE_API_KEY": "pat123.abc123"
}
}
}
}
Cline
(Recommended) Via marketplace
- Click the "MCP Servers" icon in the Cline extension
- Search for "Airtable" and click "Install"
- Follow the prompts to install the server
(Advanced) Alternative: Via JSON configuration
- Click the "MCP Servers" icon in the Cline extension
- Click on the "Installed" tab, then the "Configure MCP Servers" button at the bottom
- Add the following configuration to the "mcpServers" section, replacing
pat123.abc123
with your API key:
{
"mcpServers": {
"airtable": {
"type": "stdio",
"command": "npx",
"args": ["-y", "airtable-mcp-server"],
"env": {
"AIRTABLE_API_KEY": "pat123.abc123"
}
}
}
}
Components
Tools
list_records
- Lists records from a specified Airtable table
- Input parameters:
baseId
(string, required): The ID of the Airtable basetableId
(string, required): The ID of the table to querymaxRecords
(number, optional): Maximum number of records to return. Defaults to 100.filterByFormula
(string, optional): Airtable formula to filter records
search_records
- Search for records containing specific text
- Input parameters:
baseId
(string, required): The ID of the Airtable basetableId
(string, required): The ID of the table to querysearchTerm
(string, required): Text to search for in recordsfieldIds
(array, optional): Specific field IDs to search in. If not provided, searches all text-based fields.maxRecords
(number, optional): Maximum number of records to return. Defaults to 100.
list_bases
- Lists all accessible Airtable bases
- No input parameters required
- Returns base ID, name, and permission level
list_tables
- Lists all tables in a specific base
- Input parameters:
baseId
(string, required): The ID of the Airtable basedetailLevel
(string, optional): The amount of detail to get about the tables (tableIdentifiersOnly
,identifiersOnly
, orfull
)
- Returns table ID, name, description, fields, and views (to the given
detailLevel
)
describe_table
- Gets detailed information about a specific table
- Input parameters:
baseId
(string, required): The ID of the Airtable basetableId
(string, required): The ID of the table to describedetailLevel
(string, optional): The amount of detail to get about the table (tableIdentifiersOnly
,identifiersOnly
, orfull
)
- Returns the same format as list_tables but for a single table
- Useful for getting details about a specific table without fetching information about all tables in the base
get_record
- Gets a specific record by ID
- Input parameters:
baseId
(string, required): The ID of the Airtable basetableId
(string, required): The ID of the tablerecordId
(string, required): The ID of the record to retrieve
create_record
- Creates a new record in a table
- Input parameters:
baseId
(string, required): The ID of the Airtable basetableId
(string, required): The ID of the tablefields
(object, required): The fields and values for the new record
update_records
- Updates one or more records in a table
- Input parameters:
baseId
(string, required): The ID of the Airtable basetableId
(string, required): The ID of the tablerecords
(array, required): Array of objects containing record ID and fields to update
delete_records
- Deletes one or more records from a table
- Input parameters:
baseId
(string, required): The ID of the Airtable basetableId
(string, required): The ID of the tablerecordIds
(array, required): Array of record IDs to delete
create_table
- Creates a new table in a base
- Input parameters:
baseId
(string, required): The ID of the Airtable basename
(string, required): Name of the new tabledescription
(string, optional): Description of the tablefields
(array, required): Array of field definitions (name, type, description, options)
update_table
- Updates a table's name or description
- Input parameters:
baseId
(string, required): The ID of the Airtable basetableId
(string, required): The ID of the tablename
(string, optional): New name for the tabledescription
(string, optional): New description for the table
create_field
- Creates a new field in a table
- Input parameters:
baseId
(string, required): The ID of the Airtable basetableId
(string, required): The ID of the tablename
(string, required): Name of the new fieldtype
(string, required): Type of the fielddescription
(string, optional): Description of the fieldoptions
(object, optional): Field-specific options
update_field
- Updates a field's name or description
- Input parameters:
baseId
(string, required): The ID of the Airtable basetableId
(string, required): The ID of the tablefieldId
(string, required): The ID of the fieldname
(string, optional): New name for the fielddescription
(string, optional): New description for the field
Resources
The server provides schema information for Airtable bases and tables:
- Table Schemas (
airtable://<baseId>/<tableId>/schema
)- JSON schema information for each table
- Includes:
- Base id and table id
- Table name and description
- Primary field ID
- Field definitions (ID, name, type, description, options)
- View definitions (ID, name, type)
- Automatically discovered from Airtable's metadata API
Contributing
Pull requests are welcomed on GitHub! To get started:
- Install Git and Node.js
- Clone the repository
- Install dependencies with
npm install
- Run
npm run test
to run tests - Build with
npm run build
- You can use
npm run build:watch
to automatically build after editingsrc/index.ts
. This means you can hit save, reload Claude Desktop (with Ctrl/Cmd+R), and the changes apply.
Releases
Versions follow the semantic versioning spec.
To release:
- Use
npm version <major | minor | patch>
to bump the version - Run
git push --follow-tags
to push with tags - Wait for GitHub Actions to publish to the NPM registry.
165
ãã©ãã¯ãŒ
271
ãªããžããª
8
Gist
49
è²¢ç®æ°