• 梧桐

    - 此项目只是在perplexity-ai基础上,增加了 mcp, oai api 功能。逆向非本人完成

    - 除了mcp之外的问题,提issue请找原项目

    更新记录

    - 2026-01-19:增加了oai web playground

    - 2026-01-19:增加了SKILL

    - 2026-01-16: perplexity mcp 增加了oai 接口规范调用(2api)

    - 2026-01-13: [perplexity-mcp] 增加账号定时监测和TG推送

    - 2026-01-03:增加号池和webUI管理

    - 2026-01-02:返回结果增加引用内容链接。(搭配fetch mcp使用)

    - 2025-12-31:增加健康检查endpoint,方便对接探针服务

    gayhub

    github.com

    图片

    GitHub - escapeWu/perplexity-ai: A third-party Perplexity MCP/REST API...

    A third-party Perplexity MCP/REST API implementation that leverages Pro accounts to provide unlimited quota for reasoning and deep search capabilities. Includes multi-account support.

    效果

    图片

    图片

    图片

    项目部署

    github.com/escapeWu/perplexity-ai

    README.md

    main```

    Thanks for LINUX DO

    Perplexity MCP Server

    ![中文文档](README-zh.md)

    An unofficial Python API for Perplexity.ai that exposes search capabilities via MCP (Model Context Protocol) and OpenAI-compatible endpoints. Supports multi-token pools for load balancing, health monitoring, and various search modes.

    Screenshots

    ADMIN Panel
    https://yourdomain.com/admin/
    <img width="2628" height="2052" alt="image" src="https://github.com/user-attachments/assets/997f0ae0-9f76-4d53-ba28-625068b508d1&quot; />

    Log View
    <img width="2616" height="1823" alt="image" src="https://github.com/user-attachments/assets/f6cdd0ad-8266-4e14-846a-99ed1af9dc42&quot; />

    OpenAI Playground
    https://yourdomain.com/playground/
    img_v3_02u3_eada7873-379e-42c1-bcbf-3c0466a66ffg
    ```此文件已被截断。 显示原始文件

    做了个国内的镜像同步,放在了阿里云杭州
    registry.cn-hangzhou.aliyuncs.com/opengis/shancw-perplexity-mcp

    token提取

    图片

    管挖不管填:对于手动token提取,由于没了解过逆向,准备大力出奇迹,封装个selenium 模拟操作

    点个star,更新不迷路


    1 LDC打赏

    主楼
  • 浦西喵

    要过盾吗?

    #1
  • 居易_白

    太厉害了,学习一下

    #2
  • antior

    需要多久刷新一次token啊?

    #3
  • 梧桐

    我目前没遇到过盾情况,RNDC02

    #4
  • 梧桐

    原项目没做任何处理。目前用了一天没出现403,应该是1个月

    图片

    这确实是个问题,有空时候分析下接口,看怎么自动刷新。

    #5
  • Nazo

    感谢佬

    图片

    #6
  • 一般路过不热心群众

    有用key的吗,tokens不是得经常刷?

    哇,一个月?

    #7
  • 梧桐

    key才5刀够用啥的

    #8
  • 梧桐

    图片

    这项目做了处理

    github.com/helallao/perplexity-ai

    docs/IMPROVEMENTS.md

    main```

    Suggested Improvements

    Status: All improvement recommendations have now been implemented successfully.

    This document organizes the original improvement plan by priority, from low to critical, and keeps the reference code snippets that guided the work.


    Low Priority – Code Quality

    1. Complete Type Hints

    Problem
    - Functions shipped without type hints, which hurt IDE assistance and static analysis.

    Solution
    - Adopt typing annotations for every public function, including literal modes, optional model names, and structured outputs.

    Impact
    - Easier maintenance, fewer runtime type errors, and first-class IDE support.
    ```此文件已被截断。 显示原始文件

    #9
  • 卡里姆•汗

    好东西,这下闲置的perplexity可以派上用场了

    #10
  • FinishIt

    Mark一下

    #11
  • 大帅哥

    太强了,感谢大佬

    #12
  • yzccz

    蹲一下更新

    #13
  • 梧桐

    这个docker除了socks没测过,基础的mcp已经可以用了

    #14
  • yzccz

    这就试试,感谢大佬

    #15
  • 浦西喵

    感谢,这就去看看

    #16
  • 🪵王

    跟官方的 mcp 比 是因为这个可以无限额,官方的 mcp 只能 5 美元?

    #17
  • 梧桐

    官方的 mcp 只能 5 美元?

    官方的mcp要用key,一个pro账户,每个月免费额度只有5刀。

    这个可以无限额

    这个是逆向web端的接口,pro账户是无限制使用的

    图片

    图片

    #18
  • 🪵王

    那我就理解了,官方的 mcp 的一些功能 深度这些应该还没支持吧,现在只支持到搜索

    图片

    #19

发表回复

登录后回复