Freelance Developer – MCP + PostgreSQL Thread Persistence

Posted 6 days ago

Worldwide

Summary

Freelance Developer – MCP + PostgreSQL Thread Persistence Project: Fix the existing AI chat application’s thread persistence so conversations using Claude + MCP + PostgreSQL are automatically saved and updated correctly. Main Problem: The MCP/database tool call is not consistently triggered after Claude responds, causing conversations to not be reliably stored. Required Logic: * New thread → Create one new PostgreSQL record. * Existing thread → Update the same record with new conversation content. * Do not create duplicate records/files for every message. * Identify threads using an appropriate combination such as user_id + thread_id/thread_name. * Maintain the complete conversation history. * Automatically trigger persistence at the correct point in the chat workflow. * Handle retries, failures, race conditions, and data integrity. Developer Responsibilities: * Review the existing Claude/chat architecture. * Review the current MCP implementation and PostgreSQL schema. * Find why the persistence/tool call is failing. * Implement reliable insert/update (upsert) logic. * Prevent duplicate records. * Test multiple messages, threads, and users. * Document the implementation and database logic. Required Skills: * PostgreSQL * Claude/Anthropic API * MCP / Model Context Protocol * LLM tool/function calling * Node.js/TypeScript or Python * Backend/API development * Chat/thread persistence * Async workflow debugging * JSON and database upsert operations Expected Deliverables: 1. Working MCP + PostgreSQL persistence. 2. Automatic creation of new-thread records. 3. Automatic updating of existing threads. 4. No unnecessary duplicates. 5. Reliable tool triggering. 6. Correct user/thread identification. 7. Complete workflow testing. 8. Documentation. Ideal Developer: Someone who can debug and improve the existing codebase, understand the current Claude/MCP architecture, identify the exact failure point, and implement a clean persistence solution rather than building a completely new system. Applicants should provide: * MCP/LLM tool-calling experience * Claude/Anthropic API experience * PostgreSQL experience * Similar chat persistence project experience * Preferred backend stack * Proposed approach to solving the issue

  • Less than 30 hrs/week
    Hourly
  • < 1 month
    Duration
  • Expert
    Experience Level
  • $30.00

    -

    $40.00

    Hourly
  • Remote Job
  • One-time project
    Project Type
Skills and Expertise
Mandatory skills
Back-End Development
REST API
Activity on this job
  • Proposals:50+
  • Last viewed by client:4 days ago
  • Interviewing:
    0
  • Invites sent:
    0
  • Unanswered invites:
    0
About the client
Member since Aug 7, 2020
  • Canada
    Toronto2:26 PM
  • $1.6K total spent
    4 hires, 1 active
  • 70 hours
  • Tech & IT
    Mid-sized company (10-99 people)

Explore similar jobs on Upwork

Stapes.js
Google Tag Manager
Google Analytics 4
Backend Software Engineers – BangaloreFixed-price‐ Posted 2 weeks ago
Python
API
Database
Java
JavaScript
Software Architecture & Design

How it works

  • Post a job icon
    Create your free profile
    Highlight your skills and experience, show your portfolio, and set your ideal pay rate.
  • Talent comes to you icon
    Work the way you want
    Apply for jobs, create easy-to-by projects, or access exclusive opportunities that come to you.
  • Payment simplified icon
    Get paid securely
    From contract to payment, we help you work safely and get paid securely.
Want to get started? Create a profile

About Upwork

  • Rating is 4.9 out of 5.
    4.9/5
    (Average rating of clients by professionals)
  • G2 2021
    #1 freelance platform
  • 49,000+
    Signed contract every week
  • $2.3B
    Freelancers earned on Upwork in 2020

Find the best freelance jobs

Growing your career is as easy as creating a free profile and finding work like this that fits your skills.

Trusted by

  • Microsoft Logo
  • Airbnb Logo
  • Bissell Logo
  • GoDaddy Logo