Provides comprehensive tools for managing Airtable bases, tables, and records, supporting complex field types, batch operations, and schema discovery with features for filtering, sorting, and validating data.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Enhanced Airtable MCP Serverlist my bases and show the schema for the 'Tasks' table"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Enhanced Airtable MCP Server
A robust Model Context Protocol (MCP) server for Airtable that properly handles all field types including single select, dates, formulas, checkboxes, numbers, and more.
Features
Full Field Type Support: Properly handles all Airtable field types:
Single Select & Multiple Selects
Date & DateTime
Number, Currency, Percent, Duration, Rating
Checkbox (Boolean)
Email, URL, Phone Number
Attachments
Record Links
Formula, Rollup, Lookup (read-only)
And more!
Automatic Type Conversion: Automatically converts values to the correct format based on field type
Validation: Validates field values against schema (e.g., validates select options)
Flexible Querying: Support for filtering, sorting, views, and field selection
Schema Management: Auto-fetch table schemas from Airtable Metadata API or define manually
Batch Operations: Efficiently create, update, or delete up to 10 records per request
Discovery Tools: List all accessible bases and tables with metadata
Installation
Configuration
Authentication
This server uses Personal Access Tokens (PAT) for authentication. Airtable is deprecating legacy API keys in favor of PATs.
Personal Access Tokens:
Start with
pat(e.g.,patXXXXXXXXXXXXXXXXXX.XXXXXXXXX...)Can access multiple bases with a single token
Support fine-grained permissions
Optionally set
AIRTABLE_BASE_IDfor a default base
Environment Variables:
AIRTABLE_PAT(required): Your Personal Access TokenAIRTABLE_BASE_ID(optional): Default base ID if you primarily work with one base
Create your PAT: https://airtable.com/create/tokens
Note: Legacy API keys (starting with
key) are no longer supported by this server.
Security Best Practices
⚠️ IMPORTANT: Never commit tokens to version control!
Use Environment Variables: Store credentials in
.envfile (already in.gitignore)Rotate Tokens Regularly: Refresh Personal Access Tokens every 90 days
Use Scoped Permissions: Create PATs with minimum required permissions (scopes)
Separate Environments: Use different tokens for dev/staging/production
See SECURITY.md for comprehensive security guidelines.
Usage
Running Locally
Using with Claude Desktop
Add to your Claude Desktop configuration file:
MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%/Claude/claude_desktop_config.json
Option 1: PAT Only (Multi-base Access)
With this setup, the server can access all bases your PAT has permissions for.
Option 2: PAT with Default Base (Recommended)
If you primarily work with one base:
Security Notes:
⚠️ Use absolute paths only (e.g.,
/Users/you/projects/...not~/projects/...)🔒 Protect config file:
chmod 600 ~/Library/Application\ Support/Claude/claude_desktop_config.json🚫 Never commit this config file with real credentials
✅ Claude Desktop config file is user-specific and should stay private
Available Tools
1. airtable_list_bases
List all Airtable bases accessible with your Personal Access Token.
Parameters: None
Example Response:
2. airtable_list_tables
List all tables in an Airtable base.
Parameters:
baseId(optional): Airtable base ID. If not provided, uses the default base from configuration.
Example Response:
3. airtable_get_table_schema
Get the complete schema for a table including all field definitions, types, and options. Auto-fetches from Airtable Metadata API.
Parameters:
baseId(optional): Airtable base IDtable(required): Table name
Example:
4. airtable_list_records
List records from a table with optional filtering and sorting.
Parameters:
table(required): Table namefilterByFormula(optional): Airtable formula for filteringmaxRecords(optional): Maximum records to returnview(optional): View name to usefields(optional): Array of field names to returnsort(optional): Array of sort objects[{field: "Name", direction: "asc"}]
Example:
5. airtable_get_record
Get a specific record by ID.
Parameters:
table(required): Table namerecordId(required): Record ID
6. airtable_create_record
Create a new record with automatic field type conversion.
Parameters:
table(required): Table namefields(required): Object with field values
Example:
7. airtable_update_record
Update an existing record.
Parameters:
table(required): Table namerecordId(required): Record IDfields(required): Object with field values to update
8. airtable_delete_record
Delete a record.
Parameters:
table(required): Table namerecordId(required): Record ID
9. airtable_set_table_schema
Define the schema for a table to enable proper field type handling. This is optional but recommended for better type safety and validation.
Parameters:
table(required): Table namefields(required): Array of field definitions
Example:
10. airtable_batch_create_records
Create multiple records at once (up to 10 per request). Much more efficient than creating records individually.
Parameters:
baseId(optional): Airtable base IDtable(required): Table namerecords(required): Array of record objects (max 10)
Example:
11. airtable_batch_update_records
Update multiple records at once (up to 10 per request). Much more efficient than updating records individually.
Parameters:
baseId(optional): Airtable base IDtable(required): Table nameupdates(required): Array of update objects withidandfields(max 10)
Example:
12. airtable_batch_delete_records
Delete multiple records at once (up to 10 per request). Much more efficient than deleting records individually.
Parameters:
baseId(optional): Airtable base IDtable(required): Table namerecordIds(required): Array of record IDs to delete (max 10)
Example:
Field Type Handling
The server automatically converts values based on field types:
Field Type | Input Format | Notes |
singleSelect |
| Validates against available choices |
multipleSelects |
| Array of option names |
date/dateTime |
| Converts to ISO format |
number/currency/percent |
| Converts to number |
checkbox |
| Converts to boolean |
| Validates email format | |
url |
| Validates URL format |
multipleRecordLinks |
| Array of record IDs |
attachment |
| Array of attachment objects |
formula/rollup/etc. | N/A | Read-only fields |
Development
Project Structure
Why This Server?
The existing Airtable MCP servers only work with simple text fields. This server:
Properly handles single select fields (validates options)
Correctly formats date and datetime fields
Converts number, currency, percent fields appropriately
Handles checkbox (boolean) fields
Supports multiple selects, attachments, record links
Validates field values against schema
Provides helpful error messages
Security
This MCP server implements comprehensive security measures:
✅ Input Validation: All inputs validated with Zod schemas
✅ Formula Injection Protection: Sanitized field names and escaped values
✅ Error Sanitization: Sensitive data redacted from error messages
✅ Field Filtering: Automatic exclusion of large/sensitive fields
✅ Rate Limit Awareness: Respects Airtable API limits
✅ Dependency Scanning: Regular npm audit checks (currently 0 vulnerabilities)
For security issues: Please review SECURITY.md and report vulnerabilities privately to maintainers (not via public issues).
Best Practices for Claude Desktop
Always use field filtering to prevent timeouts and protect sensitive data:
Or use presets for common scenarios:
Monitor API Usage
Airtable limits:
5 requests/second per base
100,000 calls/day per workspace
Check your usage in the Airtable Account Dashboard.
License
MIT
Contributing
Contributions are welcome! Please:
Review SECURITY.md for security guidelines
Run
npm auditbefore submittingAdd tests for new features
Follow existing code style
For security vulnerabilities, please follow the private disclosure process in SECURITY.md.