
huoji120/mcp-research
Productivity workflowThis page was translated automatically. Technical details may differ from the original. View the original
A single-tool MCP Server written in Go, specifically designed to prioritize calling the host model when "uncertain about a knowledge point."
Overview
A single-tool MCP Server written in Go, specifically designed to prioritize calling the host model when "uncertain about a knowledge point." - Call OpenAI to analyze problem types - Use DuckDuckGo to search public web pages - Use Go to crawl the main text of web pages and remove HTML noise - Optionally, connect to browser rendering services and then capture dynamic page content - Proactively expand multiple keywords for implementation-type problems, covering official documentation, API references, samples, usage examples, troubleshooting - Summarize "What is this, what features and structure are it" - Add code examples where appropriate - Save results to the local Markdown knowledge base - Next time, prioritize checking the local knowledge base; after expiration, automatically reconnect and refresh - If there is no precise hit, scans similar Markdown entries and lets the MCP internal model decide whether to reuse or refresh - Security terminology explanation: For example, what is Kaspersky PDM—product/framework/API concept explanation—programming pattern explanation—technical issues requiring the latest public information - OPENAI_BASE_URL, default https://api.openai.com - OPENAI_MODEL, default gpt-4.1-mini - PROXY_URL, e.g., http://127.0.0.1:7890 - DUCKDUCKGO_BASE_URL, default https://html.duckduckgo.
Overview (machine translated)
A single-tool MCP Server written in Go, specifically designed to prioritize calling the host model when “uncertain about a knowledge point.”
Tool name: research_knowledge
It will:
- Call OpenAI to analyze the type of problem
- Use DuckDuckGo to search public web pages
- Use Go to manually capture the webpage body and remove HTML noise
- Optionally, after using browser rendering services, dynamic page content can be captured
- Proactively expands multiple sets of keywords for implementation-type issues, covering official documentation, API references, samples, usage examples, and troubleshooting
- Summarize “What is this, what are its features, and what is its structure?”
- Add code examples when appropriate
- Save the results to the local Markdown knowledge base
- Next time, prioritize checking the local knowledge base; after expiration, it will automatically reconnect and refresh
- If there is no exact hit, similar Markdown entries are scanned, and the MCP internal model decides whether to reuse or refresh
Applicable Scenarios
- Security terminology explanation: for example
什么是卡巴斯基 PDM - Product/framework/API concept explanation
- Explanation of programming patterns
- Technical issues requiring the latest publicly available information
TOML Configuration
By default, it reads config.toml from the root directory of the project.
You can copy it first:
Example:
Read priority:
- Default values
config.toml- Environment variable coverage
If you want to specify a different configuration file, you can set it as:
CONFIG_FILE
Environment variables
Required fields:
OPENAI_API_KEY
Optional:
OPENAI_BASE_URL, defaulthttps://api.openai.comOPENAI_MODEL, defaultgpt-4.1-miniPROXY_URL, for examplehttp://127.0.0.1:7890DUCKDUCKGO_BASE_URL, defaulthttps://html.duckduckgo.com/htmlBROWSER_RENDERING, defaultfalseBROWSER_RENDER_BASE_URL, default is nullHTTP_TIMEOUT_SECONDS, default300RESEARCH_TIMEOUT_SECONDS, default300RESEARCH_MAX_RESULTS, default5MAX_SEARCH_QUERIES, default6MIN_PER_QUERY_RESULTS, default5MAX_PER_QUERY_RESULTS, default10MIN_RESULT_POOL, default12MAX_RESULT_POOL, default20MAX_SYNTHESIS_RESULTS, default8
This page was translated automatically. Technical details may differ from the original.
Install
This server does not publish a one-line install command.
Open the repository installation guide New to MCP? Start with the mcpskill.org guide →Configuration
{
"mcpServers": {
"research-knowledge": {
"command": "go",
"args": ["run", "./cmd/research-mcp"],
"cwd": "F:/project/mcp-research",
"env": {}
}
}
}