Skip to main content
Glama
ponisha-mcp

ponisha-mcp

by Kia-Karami

ponisha-mcp

سرور MCP پونیشا: دستیار هوش مصنوعی‌تان (Claude، Cursor و…) را به حساب پونیشا وصل کنید تا پروژه‌ها را بگردد، پیشنهاد ثبت کند، پیام کارفرماها را بخواند و جواب بدهد و پروفایل‌تان را به‌روز کند.

⚠️ غیررسمی. پونیشا API عمومی ندارد. این ابزار از همان APIهای داخلی‌ای استفاده می‌کند که سایت ponisha.ir خودش استفاده می‌کند، و هیچ ارتباطی با پونیشا ندارد. این APIها ممکن است هر وقت تغییر کنند، و خودکارسازی حساب ممکن است با قوانین پونیشا مغایر باشد. فقط روی حساب خودتان استفاده کنید و پیشنهادها و پیام‌ها را پیش از ارسال خودتان ببینید.

نصب سریع (Claude Code)

npx -y github:Kia-Karami/ponisha-mcp login
claude mcp add ponisha -- npx -y github:Kia-Karami/ponisha-mcp

دستور اول شما را وارد حساب پونیشا می‌کند (رمز با * نمایش داده می‌شود و فقط روی کامپیوتر خودتان ذخیره می‌شود). دستور دوم ابزار را به Claude Code اضافه می‌کند. حالا می‌توانید بپرسید: «پروژه‌های باز طراحی لوگو با بودجه‌ی بیش از ۵ میلیون تومان را پیدا کن.»

چه کارهایی می‌کند؟

  • جستجوی پروژه‌ها با کلمه، مهارت و دسته‌بندی؛ دیدن جزئیات پروژه و هزینه‌ی پیشنهاد (اعتبار)

  • ثبت و ویرایش پیشنهاد، همراه با مراحل پرداخت

  • خواندن گفتگوها و پیام‌ها و ارسال پاسخ

  • ویرایش پروفایل (عنوان شغلی، درباره‌ی من، مهارت‌ها)

  • افزودن، ویرایش و حذف نمونه‌کارها، همراه با بارگذاری تصویر، ویدیو و فایل از کامپیوتر خودتان

  • میز کار، اعلان‌ها، کیف پول و تنظیمات

پروژه‌هایی که کارفرما فریلنسرش را انتخاب کرده را تشخیص می‌دهد. پونیشا این پروژه‌ها را همچنان «باز» نشان می‌دهد، اما این ابزار آن‌ها را در جستجو پنهان می‌کند، در جزئیات پروژه هشدار می‌دهد و روی آن‌ها پیشنهاد ثبت نمی‌کند تا اعتبارتان هدر نرود.

همه‌ی مبالغ به تومان هستند، مثل خود سایت. ابزارهایی که چیزی را تغییر می‌دهند پیش از اجرا از شما تأیید می‌گیرند؛ با PONISHA_READ_ONLY=1 کاملاً خاموش می‌شوند.


English

An unofficial MCP server for Ponisha, the Iranian freelancing platform. It lets an AI assistant search projects, submit bids, read and answer chats, and edit your profile.

Ponisha has no public API. This server calls the same private endpoints the ponisha.ir web app uses:

Service

Base URL

Used for

api

https://api.ponisha.ir/api/v1

auth, projects, bids, users, profile, wallet, desks

search

https://search.ponisha.ir/v1

project / freelancer search (public)

chat

https://chat.ponisha.ir/v1

conversations and messages

⚠️ Not affiliated with Ponisha. These are undocumented internal APIs. They can change at any time, and automating an account may break Ponisha's terms of service. Use it only on your own account, review bids and messages before they're sent, and don't spam.

Install

Requires Node.js 18.17 or newer.

Claude Code

npx -y github:Kia-Karami/ponisha-mcp login
claude mcp add ponisha -- npx -y github:Kia-Karami/ponisha-mcp

Claude Desktop / Cursor / other clients (claude_desktop_config.json, .cursor/mcp.json, …)

{
  "mcpServers": {
    "ponisha": {
      "command": "npx",
      "args": ["-y", "github:Kia-Karami/ponisha-mcp"]
    }
  }
}

From source

git clone https://github.com/Kia-Karami/ponisha-mcp.git
cd ponisha-mcp && npm install
npm run login
claude mcp add ponisha -- node "$PWD/dist/index.js"

Logging in

Pick one:

  1. Interactive (easiest): run npx -y github:Kia-Karami/ponisha-mcp login (or npm run login from source). Log in with your password, shown as *, or with an SMS code.

  2. Password from env: set PONISHA_USERNAME (mobile or email) and PONISHA_PASSWORD in the server's config, then ask the assistant to call ponisha_login_password. Your credentials stay in the config and never appear in the chat.

  3. SMS code in chat: the assistant calls ponisha_login_otp_request with your mobile number, you tell it the code, and it calls ponisha_login_otp_verify.

  4. Existing token: copy the Authorization: Bearer … header from any api.ponisha.ir request in your browser's DevTools and set it as PONISHA_TOKEN.

The session is saved only on your computer, in ~/.ponisha-mcp/session.json (file mode 600). ponisha_logout deletes it. Never share that file.

Tools

Read (no login needed)

  • ponisha_search_projects: text, skills, categories, open-only, sorting, paging

  • ponisha_get_project, ponisha_list_project_bids

  • ponisha_list_skills, ponisha_list_categories

  • ponisha_search_freelancers, ponisha_get_profile, ponisha_get_user_reviews

  • ponisha_list_portfolio, ponisha_get_portfolio, ponisha_list_service_types, ponisha_search_portfolio_tags

Read (login needed)

  • ponisha_get_me, ponisha_my_bids, ponisha_get_bid

  • ponisha_my_dashboard: workroom projects/bids/summary, my projects, desks, notifications, wallet, settings, resume (some sections take 10–20 s)

  • ponisha_get_desk: the workspace after a bid is accepted (payments, requests, files)

  • ponisha_list_conversations, ponisha_get_messages, ponisha_get_conversation_info

  • ponisha_api_get: GET any endpoint

Write (acts on your real account)

  • ponisha_submit_bid, ponisha_update_bid (Ponisha has no way to withdraw a bid)

  • ponisha_send_message

  • ponisha_update_profile, ponisha_update_skills

  • ponisha_upload_file, ponisha_create_portfolio, ponisha_update_portfolio, ponisha_delete_portfolio (deleting needs the item's exact title and can't be undone)

  • ponisha_api_request: any method on any endpoint

Write tools are marked with MCP annotations, so clients ask you before running them. Set PONISHA_READ_ONLY=1 to turn them all off.

Notes

  • Money is in Toman, the same numbers ponisha.ir shows. A 5 million Toman bid is amount: 5000000. Bids must be between 100,000 and 1,000,000,000 Toman, with delivery in 1–180 days.

  • Projects that already hired someone. Ponisha keeps a project marked open (باز) after the employer has chosen a freelancer («کارفرما این پیشنهاد را انتخاب کرده است»). The server spots this from the project's bid list (a bid with status «تایید شده»): search hides those projects by default (hide_taken: false shows them, marked already_hired: true), ponisha_get_project adds a CLOSED warning, and ponisha_submit_bid refuses to bid on them, or when it can't check, so you don't waste credits.

  • Milestones: if you pass payments, they must add up exactly to amount. If you leave it out, one milestone for the full amount is sent.

  • Bids cost credits, and the price depends on the project. ponisha_get_project shows it as coin_needed: it goes up with the budget (about 1 credit under 500K Toman, 2 credits for 500K–2M, 5 credits for 6M and up). A promoted bid costs about 10× (promoted_coin_needed). The free plan gives 5 credits a month; Gold gives 500. With too few left, Ponisha rejects the bid.

  • Portfolio items need a title (3–60 characters), your role, a description, a service type (ponisha_list_service_types), 1–5 skills, 1–5 tags, at least one content item and a cover. Upload content files with ponisha_upload_file (jpg, png, gif, mp4, pdf, mp3, wav; up to 10 MB) and give the cover as cover_image_path (jpg or png, up to 5 MB), which is uploaded for you. New items wait for Ponisha's review («در وضعیت انتظار») before they show publicly. Edits keep every field you don't pass; contents replaces the whole list.

  • Sharing contact info in bids or chat is against Ponisha's rules and is filtered.

Environment variables

Var

Purpose

PONISHA_USERNAME / PONISHA_PASSWORD

credentials for ponisha_login_password

PONISHA_TOKEN

use this bearer token instead of the stored session

PONISHA_READ_ONLY

1 turns off all write tools

PONISHA_SESSION_DIR

where the session is stored (default ~/.ponisha-mcp)

PONISHA_MAX_RESPONSE_CHARS

maximum response size per tool call (default 60000)

Example prompts

  • "Find open Python/Django projects on Ponisha posted this week with a budget over 20M Toman, and summarize the best 5 for me."

  • "Draft a bid for project 762972: 8M Toman, 10 days. Show it to me before you submit."

  • "Check my Ponisha messages and draft replies to anything unread."

  • "Update my Ponisha headline to 'Full-stack Python & React developer'."

  • "Add the images in ~/Desktop/eyvan-banners as a new Ponisha portfolio item. Show me the title and description first."

Development

npm install     # also builds
npm test        # builds, then runs the unit tests
  • src/index.ts: entry point (ponisha-mcp starts the stdio server, ponisha-mcp login logs in)

  • src/server.ts: createServer() registers the tools; importing it has no side effects

  • src/client.ts: HTTP client with a 20-second timeout per request, plus session storage

  • src/lib.ts: pure helpers (request bodies, formatting, errors), tested in test/

Errors are always returned as isError results, never thrown. Nothing but the MCP protocol is written to stdout.

Status

Tested against the live site in November 2026, from an Iranian IP: search and all read tools, profile and skills editing, and submitting a bid. It hasn't been tried from outside Iran. Sending a chat message and editing a bid are built to the site's request format but haven't been used for real yet.

License

MIT

Available Tools

36 tools
ponisha_api_getA
Read-only

Raw authenticated GET against any Ponisha endpoint not covered by another tool.

Inputs: path (required), service (required), query.

ponisha_api_requestA
Destructive

Raw authenticated request (any method) against any Ponisha endpoint. Use only when no dedicated tool fits; state-changing calls act on the real account.

Inputs: path (required), method (required), service (required), body, +1 more.

ponisha_create_portfolioA

Add a portfolio item («نمونه‌کار») to your profile. Upload its content files first with ponisha_upload_file (kind portfolio); give a cover with cover_image_path. Ponisha reviews new items before they show publicly (status «در وضعیت انتظار»). Show the user the full item and get approval first.

Inputs: role (required), tags (required), title (required), skills (required), +10 more.

ponisha_delete_portfolioA
Destructive

Permanently delete one of your portfolio items. It can't be undone. Always ask the user first. Pass the item's exact title as confirm_title; the item is only deleted if it matches.

Inputs: portfolio_id (required), confirm_title (required).

ponisha_get_bidA
Read-only

Get one bid by id (your own bid, or a bid on your project).

Inputs: bid_id (required).

ponisha_get_conversation_infoA
Read-only

Get details about a conversation (participants, can_chat, project). Pass the bid_id from ponisha_list_conversations; you can also use it to find the conversation for a bid.

Inputs: bid_id (required), conversation_id.

ponisha_get_deskB
Read-only

Get a project desk (the workspace after a bid is accepted): status, payments, requests, files.

Inputs: desk_id (required), project_id (required), part.

ponisha_get_meA
Read-only

Get your own account: user id, username, type (freelancer/employer), plan, profile completeness.

Inputs: no named parameters.

ponisha_get_messagesA
Read-only

Read messages in a conversation, newest first. For older messages pass before = id of the oldest message you have.

Inputs: conversation_id (required), limit, before.

ponisha_get_portfolioA
Read-only

Get one portfolio item in full: title, role, description, service type, skills, tags, contents (images, files, links, text) with their file ids, preview image, price range and duration. Leave username empty for your own.

Inputs: portfolio_id (required), username.

ponisha_get_profileA
Read-only

Get a user's public profile (bio, skills, stats, ratings). Use your own username for your profile.

Inputs: username (required).

ponisha_get_projectA
Read-only

Get full details of a project by id (description, budget, employer, status). Includes coin_needed (credits a bid costs), promoted_coin_needed, and hiring: whether the employer already chose a freelancer. If hiring.already_hired is true the project is effectively closed even though its status says open (باز).

Inputs: project_id (required), extended.

ponisha_get_user_reviewsB
Read-only

Get reviews/comments left for a user.

Inputs: username (required), page, per_page.

ponisha_list_categoriesB
Read-only

List Ponisha categories with their sub-categories.

Inputs: no named parameters.

ponisha_list_conversationsB
Read-only

List your chat conversations (with employers/freelancers). Each item has id, participants, unread_count, last_message and the related project/bid.

Inputs: q, page, limit.

ponisha_list_portfolioC
Read-only

List a user's portfolio items.

Inputs: username (required).

ponisha_list_project_bidsB
Read-only

List the bids on a project (visible details depend on whether you are the employer).

Inputs: project_id (required), page.

ponisha_list_service_typesA
Read-only

List the service types («نوع سرویس») a portfolio item can have, e.g. 28 = طراحی رابط کاربری UI/UX, 32 = طراحی بنر و بیلبورد. Use the id as skill_category_id in ponisha_create_portfolio.

Inputs: no named parameters.

ponisha_list_skillsA
Read-only

List all Ponisha skills (id, slug, title). Use slugs as filters in ponisha_search_projects.

Inputs: filter.

ponisha_login_otp_requestA

Step 1 of SMS login: asks Ponisha to send a one-time code to the given mobile number (e.g. 09121234567). Then ask the user for the code and call ponisha_login_otp_verify.

Inputs: mobile (required).

ponisha_login_otp_verifyA

Step 2 of SMS login: verify the code the user received by SMS and store the session.

Inputs: otp (required), mobile (required).

ponisha_login_passwordA

Log in with mobile/email + password taken from the PONISHA_USERNAME and PONISHA_PASSWORD environment variables (credentials never pass through the conversation). The session token is stored in ~/.ponisha-mcp/session.json.

Inputs: no named parameters.

ponisha_logoutA

Log out and delete the stored session token.

Inputs: no named parameters.

ponisha_my_bidsC
Read-only

List the bids you have submitted and their status.

Inputs: page, status, per_page.

ponisha_my_dashboardA
Read-only

Read a section of your dashboard: workroom_projects (projects you're working on / won), workroom_bids, workroom_summary (counts), my_projects (projects you posted as employer), desks (project workspaces; desk_type 0-2, meaning unverified), notifications, notifications_count, wallet, settings, resume. Some endpoints are slow (10-20s).

Inputs: section (required), page, role, status, +2 more.

ponisha_search_freelancersC
Read-only

Search freelancers on Ponisha.

Inputs: page, query, skills, per_page.

ponisha_search_portfolio_tagsB
Read-only

Search existing portfolio tags («برچسب») by text. Tags are sent by title, so you can also use a new one.

Inputs: query (required), per_page.

ponisha_search_projectsA
Read-only

Search Ponisha projects (public, no login needed). Returns id, title, description, budget (Toman), skills, bid count and deadlines. Use skill slugs from ponisha_list_skills (e.g. 'python', 'react'). Ponisha keeps a project marked open even after the employer has chosen a freelancer, so by default each result is checked and those projects are hidden (hide_taken). Each result has already_hired: true, false or null (couldn't check). Never bid on a project with already_hired true.

Inputs: page, sort, order, query, +6 more.

ponisha_send_messageA

Send a text message in a conversation. The other person sees it immediately — confirm the text with the user unless they've told you to reply autonomously. Sharing contact details is against Ponisha rules.

Inputs: content (required), conversation_id (required), reply_to.

ponisha_session_statusA
Read-only

Show whether the MCP server is logged in to Ponisha and where the token comes from.

Inputs: no named parameters.

ponisha_submit_bidA

Submit a bid (proposal) on a project. Refuses projects where the employer already chose a freelancer. This is visible to the employer and costs credits: each project sets its own price (coin_needed from ponisha_get_project; it grows with budget, e.g. 1, 2 or 5; a promoted bid costs promoted_coin_needed, about 10x). Tell the user the cost before submitting. With too few credits Ponisha rejects it (406). confirm amount, days and text with the user first. Amounts are in TOMAN (as shown on ponisha.ir), between 100,000 and 1,000,000,000. Milestones (payments) must sum exactly to the total amount; if omitted, one milestone for the full amount is used.

Inputs: days (required), amount (required), project_id (required), description (required), +3 more.

ponisha_update_bidA

Edit one of your bids (amount in Toman, days, text, milestones). Only works while the bid's is_editable is true (see ponisha_my_bids). All fields are required, so pass the current values for anything you don't change. Ponisha has no way to withdraw a bid.

Inputs: days (required), amount (required), bid_id (required), project_id (required), +2 more.

ponisha_update_portfolioA

Edit one of your portfolio items. Pass only what changes; everything else is kept from the current item. contents replaces the whole list, so include the items to keep (see ponisha_get_portfolio for their file ids). Older items may have no role or service type; then pass role and skill_category_id too. Ponisha may review the item again after an edit. Show the user the change and get approval first.

Inputs: portfolio_id (required), role, tags, title, +11 more.

ponisha_update_profileA

Update your profile. Pass only the fields to change (verified: job_title). Fields: job_title (headline), job_description (bio), gender (MALE/FEMALE), birth_date (unix seconds), city (city id), marriage_status. Note: job_title cannot be cleared once set (Ponisha rejects empty values). Other fields go in extra. Read your profile first with ponisha_get_profile.

Inputs: city, extra, gender, job_title, +3 more.

ponisha_update_skillsA

Replace your whole skill list (verified). Each item is {skill_id, skill_category_id}; get ids from ponisha_list_skills and your current skills (id, category_id) from ponisha_get_profile. Include every skill you want to keep: anything left out is removed.

Inputs: skill_category_list (required).

ponisha_upload_fileA

Upload a file from this computer for a portfolio item and get its file_id. kind portfolio (jpg, png, gif, mp4, pdf, mp3, wav; up to 10 MB) is for the item's contents; portfolio_preview (jpg, png; up to 5 MB) is for the cover image (preview_image). Uploading alone changes nothing visible on your profile.

Inputs: file_path (required), kind.

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    B3.4/5.0

    Scored across 36 tools

    Disambiguation4/5

    Most tools target a distinct resource+action, and the descriptions actively draw boundaries (e.g. get_me vs get_profile, my_bids vs list_project_bids, session_status vs login tools). The main overlap is ponisha_api_get being a strict subset of ponisha_api_request, plus the broad ponisha_my_dashboard which overlaps with get_desk/get_profile/wallet sections, but both are explained as fallbacks/bundles.

    Naming Consistency4/5

    Almost all tools follow the ponisha_verb_noun snake_case pattern (list_skills, create_portfolio, update_bid, delete_portfolio). A few deviate into noun-first or reversed forms: ponisha_my_bids, ponisha_my_dashboard, ponisha_session_status, ponisha_api_get. These are readable and minor, not enough to break predictability.

    Tool Count3/5

    36 tools is heavy, above the comfortable 3-15 range, and two raw API escape hatches add surface on top of dedicated tools. However the domain genuinely spans auth, projects, bids, portfolio, profile, chat and search, so each cluster is small (~4-5 tools) rather than redundant.

    Completeness4/5

    Coverage is broad across the lifecycle: search/get projects, submit/update/get bids, full portfolio CRUD with file upload, profile and skills updates, conversations and messaging, plus raw API access for gaps. Missing pieces are minor (no project creation as employer, no notification mark-read, no conversation deletion) and partly outside the API's capability, as with bid withdrawal.

    Related MCP Connectors

    Related MCP Servers