AI Legal Consultation Assistant
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| LEGAL_KB_URL | No | Optional remote knowledge base HTTP adapter URL. | |
| DEEPSEEK_MODEL | No | DeepSeek model to use, defaults to 'deepseek-v4-flash'. | deepseek-v4-flash |
| DEEPSEEK_API_KEY | Yes | DeepSeek API Key, required for the workflow. | |
| LEGAL_KB_API_KEY | No | Optional API key for the remote knowledge base. | |
| PUBLIC_SEARCH_URL | No | Baidu official search API endpoint. | https://qianfan.baidubce.com/v2/ai_search/web_summary |
| LEGAL_WORKFLOW_MODE | No | Workflow mode: 'custom', 'wenxin', or 'auto'. | auto |
| PUBLIC_SEARCH_API_KEY | No | Baidu Qianfan AI search API key, needed for non-labor law questions. | |
| PUBLIC_SEARCH_PROVIDER | No | Search provider, fixed to 'baidu'. | baidu |
| LEGAL_ALLOW_WEB_FALLBACK_ON_KB_ERROR | No | Whether to fall back to web search when the knowledge base encounters an error. Use 'true' or 'false'. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
No tools | |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
This server cannot be deployed
Maintenance
ActivitySlowing
ResponsivenessNo issues