Skip to main content
Glama

Upwork MCP Server

MCP (Model Context Protocol) server for Upwork via browser automation. Enables Claude Code to search jobs, manage proposals, messages, and contracts on Upwork.

Features

  • Job Search: Search and filter Upwork jobs by keywords, budget, experience level, etc.

  • Job Details: Get comprehensive information about specific job postings

  • Profile: View your freelancer profile, connects balance, and stats

  • Proposals: View, submit, and withdraw proposals

  • Messages: Read and send messages in Upwork inbox

  • Contracts: View active and past contracts, work diary entries

Related MCP server: upwork-mcp

How It Works

This MCP uses Chrome DevTools Protocol (CDP) to connect to your real Chrome browser. This approach:

  • Bypasses Cloudflare's "automated test software" detection

  • Uses your real browser profile with history and cookies

  • Requires Chrome to be running with debug port enabled

Installation

Prerequisites

  • Python 3.12+

  • uv package manager

  • Google Chrome browser

Install from source

cd upwork-mcp
uv sync

Authentication

The server connects to Chrome via CDP (Chrome DevTools Protocol).

First-time setup

# Start login flow - opens Chrome with debug port
uv run upwork-mcp --login

This will:

  1. Start Chrome with --remote-debugging-port=9222

  2. Navigate to Upwork login page

  3. Wait for you to complete login (click Cloudflare checkbox, enter credentials)

  4. Save session to ~/.upwork-mcp/chrome-profile/

Check session status

uv run upwork-mcp --check

Clear session

uv run upwork-mcp --logout

Usage

With Claude Code (local development)

Add to your MCP settings (~/.config/claude-code/settings.json or workspace settings):

{
  "mcpServers": {
    "upwork": {
      "command": "uv",
      "args": ["--directory", "/path/to/upwork-mcp", "run", "upwork-mcp"]
    }
  }
}

Available Tools

Tool

Description

upwork_search_jobs

Search for jobs matching criteria

upwork_get_job_details

Get detailed job information

upwork_get_my_profile

Get your freelancer profile

upwork_get_connects_balance

Get current connects balance

upwork_get_profile_stats

Get earnings and work history stats

upwork_get_proposals

Get your submitted proposals

upwork_get_proposal_details

Get details of a specific proposal

upwork_submit_proposal

Submit a proposal to a job

upwork_withdraw_proposal

Withdraw a submitted proposal

upwork_get_messages

Get inbox conversations

upwork_get_conversation

Get messages in a conversation

upwork_send_message

Send a message

upwork_get_unread_count

Get unread message count

upwork_get_contracts

Get your contracts

upwork_get_contract_details

Get contract details

upwork_get_work_diary

Get work diary entries

upwork_check_session

Check if session is valid

upwork_close_session

Close browser and cleanup

Examples

Search for Python developer jobs

Search for Python developer jobs on Upwork with budget over $1000

Get job details

Get details for this Upwork job: https://www.upwork.com/jobs/~01234567890

Check proposals

Show my active proposals on Upwork

Read messages

Check my Upwork messages

CLI Options

upwork-mcp [OPTIONS]

Options:
  --login        Open browser for manual login
  --check        Check if session is valid
  --logout       Clear saved session
  --no-headless  Show browser window (debugging)
  --timeout MS   Page timeout in milliseconds (default: 30000)
  --transport    MCP transport type (default: stdio)

Development

Project Structure

upwork-mcp/
├── pyproject.toml
├── README.md
├── src/upwork_mcp/
│   ├── __init__.py
│   ├── server.py           # MCP server entry point
│   ├── browser/
│   │   ├── client.py       # Patchright browser wrapper
│   │   └── auth.py         # Login flow
│   ├── tools/
│   │   ├── jobs.py         # Job search and details
│   │   ├── profile.py      # Profile and connects
│   │   ├── proposals.py    # Proposal management
│   │   ├── messages.py     # Messaging
│   │   └── contracts.py    # Contract management
│   └── utils/
│       ├── config.py       # Configuration
│       └── logging.py      # Logging setup
├── tests/
└── scripts/
    └── test_all.py

Running tests

uv run python scripts/test_all.py

Session Storage

Session data is stored in ~/.upwork-mcp/profile/. This includes browser cookies and local storage that persist your Upwork login.

Troubleshooting

Session expired

# Re-authenticate
uvx upwork-mcp --login

CAPTCHA or Cloudflare challenge

Run with visible browser to solve manually:

uvx upwork-mcp --no-headless

Browser not found

# Install Chromium for Patchright
uvx patchright install chromium

License

Apache 2.0

Available Tools

18 tools
upwork_check_sessionA

Check if the current Upwork session is valid.

Returns session status and whether re-login is needed.

Inputs: no named parameters.

upwork_close_sessionA

Close browser session and cleanup resources.

Call this when you're done using Upwork tools to free up resources.

Inputs: no named parameters.

upwork_get_connects_balanceA

Get current Upwork Connects balance.

Returns the number of available connects.

Inputs: no named parameters.

upwork_get_contract_detailsA

Get detailed information about a specific contract.

Returns full contract details including milestones, hours logged, and feedback.

Inputs: contract_url (required).

upwork_get_contractsB

Get your Upwork contracts.

Returns a list of contracts with client name, job title, status, and earnings.

Inputs: status, limit. Returns: result

upwork_get_conversationB

Get all messages in a specific conversation.

Returns conversation details with full message history.

Inputs: room_id (required), limit.

upwork_get_job_detailsB

Get detailed information about a specific Upwork job posting.

Returns comprehensive job details including description, client history, skills required, and application requirements.

Inputs: job_url (required).

upwork_get_messagesA

Get messages from Upwork inbox.

Returns a list of conversations with last message, sender info, and unread status.

Inputs: room_id, unread_only, limit. Returns: result

upwork_get_my_profileA

Get your Upwork freelancer profile information.

Returns profile data including name, title, hourly rate, JSS score, availability status, and skill tags.

Inputs: no named parameters.

upwork_get_profile_statsB

Get profile statistics including earnings and work history.

Returns stats like total earnings, hours worked, jobs completed.

Inputs: no named parameters.

upwork_get_proposal_detailsA

Get detailed information about a specific proposal.

Returns details including cover letter, bid, and any messages.

Inputs: proposal_url (required).

upwork_get_proposalsA

Get your submitted proposals on Upwork.

Returns a list of proposals with job title, status, bid amount, and dates.

Inputs: status, limit. Returns: result

upwork_get_unread_countA

Get count of unread messages.

Returns total unread message count.

Inputs: no named parameters.

upwork_get_work_diaryA

Get work diary entries for a contract.

Returns work diary with daily hours and earnings.

Inputs: contract_url (required), week_offset.

upwork_search_jobsA

Search for jobs on Upwork matching the specified criteria.

Returns a list of job summaries with title, budget, client info, and URL.

Inputs: query (required), category, budget_min, budget_max, +3 more. Returns: result

upwork_send_messageC

Send a message in an Upwork conversation.

Returns send status.

Inputs: room_id (required), message (required).

upwork_submit_proposalA

Submit a proposal to an Upwork job.

IMPORTANT: This is a sensitive action that will spend Connects. Make sure the cover letter and rate/bid are correct before submitting.

Returns submission status and connects used.

Inputs: job_url (required), cover_letter (required), rate, bid, +1 more.

upwork_withdraw_proposalB

Withdraw a submitted proposal.

Returns withdrawal status.

Inputs: proposal_url (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.7/5.0

    Scored across 18 tools

    Disambiguation4/5

    Most tools have distinct purposes (e.g., get_messages vs get_conversation), but a few pairs like get_proposals vs get_proposal_details could be confused without careful reading. The consistent prefix helps overall.

    Naming Consistency5/5

    All tools follow a uniform `upwork_verb_noun` pattern in snake_case, with clear verbs like get, search, send, submit, withdraw. No mixing of styles.

    Tool Count5/5

    18 tools cover the essential freelancer actions on Upwork—session, profile, finances, contracts, jobs, proposals, messages—without bloat. It's well-scoped for a single-purpose server.

    Completeness4/5

    Tools cover core workflows (viewing and submitting proposals, messaging, checking balance/contracts). Minor gaps like updating profile or ending contracts exist but don't severely hinder usability.

    Maintenance

    ActivityInactive
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      A
      quality
      D
      maintenance
      A Model Context Protocol server that enables AI agents to search, analyze, and apply for Upwork jobs autonomously. It facilitates specialized job scoring, proposal submission, and integrated client messaging through a combination of browser automation and API access.
      11
      14
      -
    • A
      license
      Not graded
      quality
      Not graded
      maintenance
      An MCP server for automating Upwork workflows including job search, proposal submission, client communication, and contract management. It provides tools for client vetting, template-based proposals, and session safety with audit logging.
      MIT
    • F
      license
      Not graded
      quality
      F
      maintenance
      MCP server for the Upwork GraphQL API enabling job search, contract management, proposal drafting, and other Upwork automation tasks via natural language.
      -