A
Airtable
community
database
Read and write access to [Airtable](https://airtable.com/) databases, with schema inspection.
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.
Usage
To use this server with the Claude Desktop app, add the following configuration to the "mcpServers" section of your
claude_desktop_config.json
:{ "mcpServers": { "airtable": { "command": "npx", "args": [ "-y", "airtable-mcp-server" ], "env": { "AIRTABLE_API_KEY": "pat123.abc123" } } } }
Replace
pat123.abc123
with your Airtable personal access token. Your token should have at least schema.bases:read
and data.records:read
, and optionally the corresponding write permissions.Components
Tools
-
list_records
- Lists records from a specified Airtable table
- Input parameters:
(string, required): The ID of the Airtable basebaseId
(string, required): The ID of the table to querytableId
(number, optional): Maximum number of records to return. Defaults to 100.maxRecords
(string, optional): Airtable formula to filter recordsfilterByFormula
-
search_records
- Search for records containing specific text
- Input parameters:
(string, required): The ID of the Airtable basebaseId
(string, required): The ID of the table to querytableId
(string, required): Text to search for in recordssearchTerm
(array, optional): Specific field IDs to search in. If not provided, searches all text-based fields.fieldIds
(number, optional): Maximum number of records to return. Defaults to 100.maxRecords
-
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:
(string, required): The ID of the Airtable basebaseId
(string, optional): The amount of detail to get about the tables (detailLevel
,tableIdentifiersOnly
, oridentifiersOnly
)full
- Returns table ID, name, description, fields, and views (to the given
)detailLevel
-
describe_table
- Gets detailed information about a specific table
- Input parameters:
(string, required): The ID of the Airtable basebaseId
(string, required): The ID of the table to describetableId
(string, optional): The amount of detail to get about the table (detailLevel
,tableIdentifiersOnly
, oridentifiersOnly
)full
- 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:
(string, required): The ID of the Airtable basebaseId
(string, required): The ID of the tabletableId
(string, required): The ID of the record to retrieverecordId
-
create_record
- Creates a new record in a table
- Input parameters:
(string, required): The ID of the Airtable basebaseId
(string, required): The ID of the tabletableId
(object, required): The fields and values for the new recordfields
-
update_records
- Updates one or more records in a table
- Input parameters:
(string, required): The ID of the Airtable basebaseId
(string, required): The ID of the tabletableId
(array, required): Array of objects containing record ID and fields to updaterecords
-
delete_records
- Deletes one or more records from a table
- Input parameters:
(string, required): The ID of the Airtable basebaseId
(string, required): The ID of the tabletableId
(array, required): Array of record IDs to deleterecordIds
-
create_table
- Creates a new table in a base
- Input parameters:
(string, required): The ID of the Airtable basebaseId
(string, required): Name of the new tablename
(string, optional): Description of the tabledescription
(array, required): Array of field definitions (name, type, description, options)fields
-
update_table
- Updates a table's name or description
- Input parameters:
(string, required): The ID of the Airtable basebaseId
(string, required): The ID of the tabletableId
(string, optional): New name for the tablename
(string, optional): New description for the tabledescription
-
create_field
- Creates a new field in a table
- Input parameters:
(string, required): The ID of the Airtable basebaseId
(string, required): The ID of the tabletableId
(string, required): Name of the new fieldname
(string, required): Type of the fieldtype
(string, optional): Description of the fielddescription
(object, optional): Field-specific optionsoptions
-
update_field
- Updates a field's name or description
- Input parameters:
(string, required): The ID of the Airtable basebaseId
(string, required): The ID of the tabletableId
(string, required): The ID of the fieldfieldId
(string, optional): New name for the fieldname
(string, optional): New description for the fielddescription
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
to run testsnpm run test
- Build with
npm run build
- You can use
to automatically build after editingnpm run build:watch
. This means you can hit save, reload Claude Desktop (with Ctrl/Cmd+R), and the changes apply.src/index.ts
Releases
Versions follow the semantic versioning spec.
To release:
- Use
to bump the versionnpm version <major | minor | patch>
- Run
to push with tagsgit push --follow-tags
- Wait for GitHub Actions to publish to the NPM registry.
Related Servers
Apache IoTDB
official
MCP Server for [Apache IoTDB](https://github.com/apache/iotdb) database and its tools
View Details