1. Conduid
  2. Developer Tools
  3. llm-analysis-assistant
MCP server · Developer Tools

llm-analysis-assistant

An LLM analysis assistant to help you understand and implement PMF

Unclaimed Apache-2.0 last commit a year ago aillmassistantanalysismcp-clientpmfmcp
49Fair

Scored 2 days ago · breakdown

About llm-analysis-assistant

llm-analysis-assistant is an MCP server published by xuzexin-hz in the Developer Tools category: an LLM analysis assistant to help you understand and implement PMF.

The repository has 4 stars and 0 forks, with the last commit a year ago. Six months or more without a commit doesn't mean the server is broken, but check the open issues before depending on it in production.

Install

From source
git clone https://github.com/xuzexin-hz/llm-analysis-assistant

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

✦

Ask AI about llm-analysis-assistant

Powered by Claude · Grounded in docs

I know everything about llm-analysis-assistant. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

  • ✓README presentThe repository ships documentation.
  • ✓License declaredUsable under a stated license.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

3 checks have not been run yet.

Releases

v0.2.7v0.2.7 · 18 Jul 20251. Custom headers can also be added to sse and streamablehttp 2. Python -m and uvx runtime log files are stored in the user's temporary directory 3. Add a direct jump to the sse/stdio/streamable-http page on the home page
v0.2.4uvx llm_analysis_assistant · 12 Jul 20251、Support uvx llm_analysis_assistant 2、Fix some known bugs
v0.2.3python -m llm_analysis_assistant · 10 Jul 20251、Support detection of mcp stdio, you can open the log page to view 2、Support mcp streamable-http picture display and click save 3、Support python -m llm_analysis_assistant
v0.2.0mcp/llm/mock · 1 Jul 20251. **mcp client (already supports stdio/sse/streamableHttp calls)** 2. **mcp initialization detection and analysis (such as Cherry Studio supports sse/streamableHttp)** 3. **Detect ollama/openai interface and generate analysis log** 4.…
httpserver-v0.0.91openai and ollama · 14 May 2025Display logo correctly

README

English | 简体中文

1、Project Features

Through this proxy service, we can easily record the parameters and return results of the interaction with the big model, so as to conveniently analyze the logic of the client calling the big model and deeply understand the phenomenon and its essence. This project is not for optimizing the big model, but it can help you uncover the mystery of the big model, understand and achieve product market fit (PMF).

MCP is also an important part of LLM, so this project can also be used as an mcp client and supports detection of sse/mcp-streamable-http mode.

🌟 Main features

Function list:

  1. mcp client (already supports stdio/sse/streamableHttp calls)
  2. mcp initialization detection and analysis (such as Cherry Studio supports stdio/sse/streamableHttp)
  3. Detect ollama/openai interface and generate analysis log
  4. mock ollama/openai interface data

Technical features:

  1. uv tool use
  2. uvicorn framework use
  3. front-end async, back-end async
  4. log display real-time refresh, breakpoint continuation
  5. py socket write http client, support get/post, and their respective streaming output
  6. webSocket combined with asyncio use
  7. threading/queue use
  8. py program packaged into exe
  9. python -m llm_analysis_assistant

2. Project Background

Before the arrival of true AGI, we will have to go through a long journey, during which we will have to face constant challenges. Whether ordinary people or professionals, their lives will be changed.

However, for the use of large models, both ordinary users and developers often indirectly contact them through various clients. But the client often blocks the process of interacting with the large model, and can directly give results based on the user's simple input, giving people a feeling that the large model is mysterious, like a black box. In fact, this is not the case. When using a large model, we simply understand that we are calling an interface with input and output. It should be noted that although many inference platforms provide OpenAI format interfaces, their actual support varies. Simply put, the request parameters and return parameters of the API are not exactly the same.

For detailed parameter support, please see

Semi-standard:OpenAI API

n development:OLLAMA API

in production:VLLM API

Please check for other platforms

This project uses the uvicorn framework to start asgi to provide API services, with minimal dependencies, running quickly and concisely, paying tribute to the classics

3. Installation


# clone git
git clone https://github.com/xuzexin-hz/llm-analysis-assistant.git
cd llm-analysis-assistant

# Install the extension
uv sync

4. Use

Enter the root directory, then the bin directory Click run-server.cmd to start the service Click run-build.cmd to package the service into an executable file (in the dist directory) Or run the following command directly in the root directory:


#Default port 8000
python server.py

#You can also specify the port
python server.py --port=8001

#You can also specify the openai address, the default is the ollama address: http://127.0.0.1:11434/v1/
python server.py --base_url=https://api.openai.com
#If you configure other api addresses, remember to fill in the correct api_key, ollama does not need api_key by default

#--is_mock=true Turn on mock and return mock data
python server.py --is_mock=true

#--mock_string, you can customize the returned mock data, if you do not set this item, the default mock data will be returned. This parameter also applies to non-streaming output
python server.py --is_mock=true --mock_string=Hello

#--mock_count, the number of times the mock returns data when streaming output, the default is 3 times
python server.py --is_mock=true --mock_string=Hello --mock_count=10

#--single_word, mock streaming output return effect, the default is to divide a sentence into 3 parts according to [2:5:3] and return them in sequence, after setting the second parameter, it will be a word-by-word streaming output effect
python server.py --is_mock=true --mock_string=你好啊 --single_word=true

#--looptime, mock streaming output return data interval, the default is 0.35 seconds, set looptime=1 when streaming output display data speed will be slow
python server.py --is_mock=true --mock_string=你好啊 --looptime=1

Using uv (recommended)

When using uv no specific installation is needed. We will use uvx to directly run llm-analysis-assistant.

uvx llm_analysis_assistant

Using PIP(🌟)

Alternatively you can install llm-analysis-assistant via pip:

pip install llm-analysis-assistant

After installation, you can run it as a script using:

python -m llm_analysis_assistant

http://127.0.0.1:8000/logs View logs in real time

Detection, analysis and call mcp (currently supports stdio/sse/streamableHttp)

The implementation logic of mcp client technology is as follows. The interface log seems to be a sequential request, but it is not actually a simple request-response mode. This is easier for users to understand

mcp.png

mcp-sse logic details (for similarities and differences with stdio/streamableHttp, please refer to other materials)

mcp-sse.png

Detection and analysis of mcp-stdio

Open the following address in the browser. In the command line, ++user=xxx means that the system variable is user and the value is xxx

http://127.0.0.1:8000/mcp?url=stdio

Or use Cherry Studio to add the stdio service

Cherry-Studio-mcp-stdio.png

Detection and analysis of mcp-sse

Open the following address in the browser, the url is the sse service address

http://127.0.0.1:8000/mcp?url=http://127.0.0.1:8001/sse

http://127.0.0.1:8000/mcp?url=http://127.0.0.1:8002/sse?++user=xxx # ++user=xxx in the url means the HTTP request header user value is xxx

Or use Cherry Studio to add the mcp service

Cherry-Studio-mcp-sse.png

Detection and analysis of mcp-streamable-http

Open the following address in the browser, the url is the streamableHttp service address

http://127.0.0.1:8000/mcp?url=http://127.0.0.1:8001/mcp

http://127.0.0.1:8000/mcp?url=http://127.0.0.1:8001/mcp?++user=xxx # ++user=xxx in the url means the HTTP request header user value is xxx

Or use Cherry Studio to add the mcp service

mcp-streamable-http.png

When using Cherry Studio, you can http://127.0.0.1:8000/logs View the logs in real time to analyze the calling logic of sse/mcp-streamable-http

5. Example collection

Change the base_url of openai to the address of the service: http://127.0.0.1:8000

⑴. Analyze langchain

Install langchain first:


pip install langchain langchain-openai


from langchain.chat_models import init_chat_model
model = init_chat_model("qwen2.5-coder:1.5b", model_provider="openai",base_url='http://127.0.0.1:8000',api_key='ollama')
model.invoke("Hello, world!")

After running the above code, if you want to view the log file, you can enter the corresponding day folder in the logs directory to view it. There is a log file for each request
Open http://127.0.0.1:8000/logs to view the logs in real time

⑵Analysis tool set

1. Tool Open WebUI

Open WebUI.md

2. Tool Cherry Studio

Cherry Studio.md

3. Tool continue

continue.md

4. Tool Navicat

Navicat.md

⑶、Analysis agent

1. Agent Multi-Agent Supervisor

####### Agent is a node, agent is a tool, leader mode

langgraph-supervisor1.png

langgraph-supervisor.md

2. Intelligent agent Multi-Agent Swarm

Professional matters are reliable when handed over to professionals, teamwork mode

langgraph-swarm1.png

langgraph-swarm.md

3. Intelligent agent codeact

####### Every inch has its own strengths and weaknesses (it is said that CodeAct will greatly improve accuracy and efficiency in some scenarios)

langgraph-codeact1.png

langgraph-codeact.md

License

Apache 2.0 License.

README copy captured when this server was indexed; it may lag the repository. The original is authoritative.

Questions

About llm-analysis-assistant

How do I install llm-analysis-assistant?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is llm-analysis-assistant safe to use with an AI agent?

Its trust score is 49 out of 100 (fair). It passes 2 of the 3 static security checks run so far; the failures are listed above. It has no ConduID identity yet, so agent calls to it are not receipted.

Is llm-analysis-assistant still maintained?

The last commit was a year ago. That's long enough that you should check whether the maintainer is responding to issues before depending on it.