Skip to main content

Tuesday MCP Server

A comprehensive Model Context Protocol (MCP) server for the Tuesday Leads API, enabling AI assistants to search for people and companies using natural language queries with advanced filtering capabilities.

Features

  • Complete Tuesday API Coverage: All endpoints including people search, company search, lookups, and profiles
  • Advanced Filtering: 50+ filter parameters including funding, technology, web traffic, and team composition
  • AI-Friendly: Natural language processing with intelligent query interpretation
  • Flexible Authentication: Environment variables or per-request API keys
  • Rich Data Access: Email, phone, funding, technology, and contact information
  • Type-Safe: Full TypeScript implementation with Zod validation
  • Error Handling: Comprehensive error handling and user-friendly messages

Quick Start

Prerequisites

  • Node.js 16.0.0 or higher
  • A Tuesday API key (get one at app.tuesday.so)

Step-by-Step Local Installation

1. Clone and Setup the Repository

2. Set Your API Key

Create a .env file or set environment variable:

3. Test the Server

You should see: Tuesday MCP server started successfully Press Ctrl+C to stop the test.

Configure Your AI Assistant

Option 1: 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. Edit the configuration file:
  1. Get the absolute path:
  1. Restart Claude Desktop

Option 2: Cursor

  1. Open Cursor Settings
  2. Navigate to Extensions → MCP
  3. Add server configuration:
  1. Restart Cursor

Option 3: Continue.dev

  1. Edit your Continue config (.continue/config.json):
  1. Restart Continue extension

Option 4: Any MCP-Compatible Client

For any other MCP client, use these connection details:
  • Transport: stdio
  • Command: node
  • Arguments: ["/absolute/path/to/tuesday-mcp/dist/index.js"]
  • Environment: {"TUESDAY_API_KEY": "your-api-key-here"}

Verify Installation

1. Check MCP Server Recognition

In your AI assistant, try:
You should see Tuesday tools like search_people, search_companies, etc.

2. Test API Connection

You should get workspace information confirming the connection.
This should return search results from the Tuesday API.

Troubleshooting Setup

Common Issues

  1. “Command not found” or “Tool not available”
  2. “API key invalid”
  3. “Server won’t start”
  4. “Permission denied”

Debug Mode

Enable detailed logging:

Development Setup

If you want to modify the server:

Available Tools

Authentication

check_api_key

Validate your Tuesday API key and retrieve workspace information. Parameters:
  • api_key (optional): Tuesday API key if not set as environment variable
Example:

People Search & Lookup

search_people

Search for people using advanced filters and criteria with 50+ filtering options. Basic Parameters:
  • page: Page number (default: 1)
  • per_page: Results per page (max: 100, default: 25)
  • include_email: Include email addresses (+2 credits per result)
  • include_phone: Include phone numbers (+3 credits per result)
Person Filters:
  • person_titles: Current job titles to include
  • person_not_titles: Exclude these current job titles
  • person_past_titles: Match against past job titles
  • person_seniorities: Filter by seniority level (e.g., “C-Team”, “Manager”, “Staff”)
  • person_location: Current person location
  • not_person_location: Exclude people in these locations
  • person_days_in_current_title_range: Days in current role (min/max object)
Organization Filters:
  • q_organization_domains: Match organization domains
  • not_q_organization_domains: Exclude organizations with these domains
  • organization_location: Company HQ/location
  • not_organization_location: Exclude companies in these locations
  • organization_industry: Include companies in these industries
  • organization_not_industry: Exclude companies from these industries
  • organization_sic_industry: Filter by SIC codes
  • organization_not_sic_industry: Exclude SIC codes
  • organization_naics_industry: Filter by NAICS codes
  • organization_not_naics_industry: Exclude NAICS codes
  • organization_revenue_ranges: Revenue ranges (e.g., “1M1M-10M”)
Technology & Product Filters:
  • organization_technology: Include if they use any of these tools (e.g., “React”, “AWS”)
  • organization_all_technology: Must use all listed technologies
  • not_organization_technology: Exclude if using any of these technologies
  • organization_has_web_app: Has a web application (boolean)
  • organization_has_mobile_app: Has a mobile application (boolean)
  • organization_appstore_app_category: AppStore categories (e.g., “News”, “Finance”)
  • organization_playstore_app_category: PlayStore categories (e.g., “Business”)
  • organization_appstore_rating: iOS app rating (min/max 1-5)
  • organization_playstore_rating: Android app rating (min/max 1-5)
  • organization_appstore_review_count: Number of iOS reviews (min/max)
  • organization_playstore_review_count: Number of Android reviews (min/max)
  • organization_is_website_for_sale: Website listed for sale (boolean)
Web Traffic & Advertising:
  • organization_website_traffic_total_monthly: Total monthly visits (min/max)
  • organization_website_traffic_monthly_organic: Monthly organic traffic (min/max)
  • organization_website_traffic_monthly_paid: Monthly paid traffic (min/max)
  • organization_monthly_google_adspend: Estimated monthly Google Ads spend (min/max)
Funding Filters:
  • organization_funding_amount: Last round amount (min/max)
  • organization_funding_total_amount: Total raised funding (min/max)
  • organization_funding_date: Months since last funding round (min/max)
  • organization_funding_type: e.g., “Seed”, “Series A”, “Series B”
  • organization_funding_lead_investors: Names of lead investors
  • organization_funding_number_of_investors: Number of investors in last round (min/max)
Team & Roles:
  • organization_roles_count: Role distribution by department with ranges
  • organization_open_roles_count: Open roles per department with ranges
Examples:

lookup_person

Find a person using name, company, and other identifying information. Parameters:
  • company_domain (required): Domain of the company
  • first_name (required): First name of the person
  • last_name: Last name of the person (recommended)
  • title: Job title or role
  • location: Location (city, state, or country)
  • include_email: Include email address (+2 credits)
  • include_phone: Include phone number (+3 credits)
Example:

lookup_person_by_email

Find a person using their email address. Parameters:
  • email (required): Email address to look up
  • include_phone: Include phone number (+3 credits)
Example:

lookup_person_by_phone

Find a person using their phone number. Parameters:
  • phone (required): Phone number to look up
  • include_email: Include email address (+2 credits)
Example:

get_person_profile

Get comprehensive profile information for a person using their LinkedIn URL. Parameters:
  • linkedin_url (required): LinkedIn profile URL
  • include_email: Include email address (+2 credits)
  • include_phone: Include phone number (+3 credits)
Example:

Company Search & Lookup

search_companies

Search for companies using advanced filters with 50+ filtering options including industry, size, location, funding, technology stack, and team composition. Basic Parameters:
  • page: Page number (default: 1)
  • per_page: Results per page (max: 100, default: 25)
  • funding: Include funding details (+1 credit per result)
  • extra: Include extended company details (+1 credit per result)
  • technology: Include technology details (+2 credits per result)
  • website_traffic: Include website traffic details (+1 credit per result)
  • headcount_growth: Include headcount growth details (+1 credit per result)
Person Filters (same as people search):
  • person_titles: Current job titles to include
  • person_not_titles: Exclude these current job titles
  • person_past_titles: Match against past job titles
  • person_seniorities: Filter by seniority level
  • person_location: Current person location
  • not_person_location: Exclude people in these locations
  • person_days_in_current_title_range: Days in current role (min/max)
Organization Filters:
  • q_organization_domains: Match organization domains
  • not_q_organization_domains: Exclude organizations with these domains
  • organization_location: Company HQ/location
  • not_organization_location: Exclude companies in these locations
  • organization_industry: Include companies in these industries
  • organization_not_industry: Exclude companies from these industries
  • organization_sic_industry: Filter by SIC codes
  • organization_not_sic_industry: Exclude SIC codes
  • organization_naics_industry: Filter by NAICS codes
  • organization_not_naics_industry: Exclude NAICS codes
  • organization_revenue_ranges: Revenue ranges (e.g., “1M1M-10M”)
Technology & Product Filters:
  • organization_technology: Technologies used (e.g., “React”, “Salesforce”)
  • organization_all_technology: Must use all listed technologies
  • not_organization_technology: Exclude if using these technologies
  • organization_has_web_app: Has web application
  • organization_has_mobile_app: Has mobile application
  • organization_appstore_app_category: iOS app categories
  • organization_playstore_app_category: Android app categories
  • organization_appstore_rating: iOS app rating (1-5)
  • organization_playstore_rating: Android app rating (1-5)
  • organization_appstore_review_count: iOS review count
  • organization_playstore_review_count: Android review count
  • organization_is_website_for_sale: Website for sale status
Web Traffic & Advertising:
  • organization_website_traffic_total_monthly: Total monthly website visits
  • organization_website_traffic_monthly_organic: Organic traffic
  • organization_website_traffic_monthly_paid: Paid traffic
  • organization_monthly_google_adspend: Google Ads spending
Funding Filters:
  • organization_funding_amount: Last funding round amount
  • organization_funding_total_amount: Total funding raised
  • organization_funding_date: Months since last funding
  • organization_funding_type: Funding stage (Seed, Series A, etc.)
  • organization_funding_lead_investors: Lead investor names
  • organization_funding_number_of_investors: Number of investors
Team & Roles:
  • organization_roles_count: Team composition by department
  • organization_open_roles_count: Open positions by department
Examples:

get_company_profile

Get comprehensive company information using LinkedIn URL or domain. Parameters:
  • linkedin_url: LinkedIn company page URL
  • domain: Company domain name
  • include_funding: Include funding and investment information (+2 credits)
  • include_technology: Include technology stack (+1 credit)
  • include_contacts: Include key executive contacts (+3 credits)
Example:

get_employee_count

Get employee count and headcount information for a company. Parameters:
  • linkedin_url: LinkedIn company page URL
  • domain: Company domain name
Example:

search_employees

Search for employees within a specific company. Parameters:
  • page: Page number (default: 1)
  • per_page: Results per page (max: 100, default: 25)
  • include_email: Include email addresses (+2 credits per result)
  • include_phone: Include phone numbers (+3 credits per result)
  • company_domain: Company domain to search within
  • linkedin_url: LinkedIn company page URL
  • person_titles: Current job titles to include
  • person_not_titles: Exclude these current job titles
  • person_seniorities: Filter by seniority level
  • person_location: Current person location
  • not_person_location: Exclude people in these locations
Example:

Natural Language Query Examples

Once configured, you can use natural language with your AI assistant:

Advanced People Search Examples

Advanced Company Search Examples

Sophisticated Filtering Examples

Advanced Usage Patterns

1. Technology Stack Analysis

2. Funding-Based Targeting

3. Market Size and Traffic Analysis

4. Team Composition Intelligence

Credit Management

Understanding Credit Costs

  • Basic searches: 1 credit per result
  • Email inclusion: +2 credits per result
  • Phone inclusion: +3 credits per result
  • Company funding data: +1 credit per result
  • Extended company details: +1 credit per result
  • Technology stack data: +2 credits per result
  • Website traffic data: +1 credit per result
  • Headcount growth data: +1 credit per result
  • Executive contacts: +3 credits per result

Optimizing Credit Usage

Best Practices

1. Layer Your Filters

2. Use Specific Technology Criteria

3. Combine Funding and Growth Signals

4. Leverage Team Composition Data

Integration Examples

Advanced Sales Prospecting

Competitive Intelligence Workflow

Partnership Development

Market Research and Analysis

Examples by Use Case

Lead Generation with Advanced Targeting

Recruiting with Tech Stack Focus

Market Research with Growth Signals

Partnership Development with Integration Potential

Performance Tips

1. Use Layered Filtering

2. Optimize for Credit Efficiency

3. Leverage Cached Results

API Reference

Rate Limits

Please refer to the Tuesday API documentation for current rate limits and best practices.

Error Handling

The MCP server provides comprehensive error handling:
  • Authentication errors: Invalid or missing API keys
  • Validation errors: Invalid input parameters
  • API errors: Rate limiting, insufficient credits, etc.
  • Network errors: Connection issues, timeouts

Troubleshooting

Common Issues and Solutions

  1. “Tool not found” errors
    • Restart your AI assistant
    • Check the MCP server configuration
    • Verify the server is running
  2. Authentication errors
    • Verify your API key is correct
    • Check environment variable is set
    • Ensure sufficient credits
  3. No results returned
    • Try broader search criteria
    • Check if the company/person exists
    • Verify parameter spelling
  4. Too many parameters error
    • Some filters may be mutually exclusive
    • Try using fewer filters at once
    • Check parameter format (arrays vs. objects)

Debug Mode

Enable debug logging to troubleshoot issues:

Contributing

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add some amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

License

This project is licensed under the ISC License - see the LICENSE file for details.

Support and Resources

Changelog

v1.0.0

  • Initial release
  • Complete Tuesday API coverage
  • TypeScript implementation
  • Comprehensive error handling
  • AI assistant integration support
  • Added 50+ advanced filtering parameters
  • Enhanced technology stack filtering
  • Added funding and growth signal filters
  • Improved web traffic and advertising filters
  • Added team composition and hiring filters
  • Enhanced organization industry and revenue filtering