web-search-searxng-mcp 0.1.0__py3-none-any.whl → 0.1.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- web_search_mcp/config/settings.py +3 -2
- {web_search_searxng_mcp-0.1.0.dist-info → web_search_searxng_mcp-0.1.1.dist-info}/METADATA +16 -28
- {web_search_searxng_mcp-0.1.0.dist-info → web_search_searxng_mcp-0.1.1.dist-info}/RECORD +6 -6
- {web_search_searxng_mcp-0.1.0.dist-info → web_search_searxng_mcp-0.1.1.dist-info}/WHEEL +0 -0
- {web_search_searxng_mcp-0.1.0.dist-info → web_search_searxng_mcp-0.1.1.dist-info}/entry_points.txt +0 -0
- {web_search_searxng_mcp-0.1.0.dist-info → web_search_searxng_mcp-0.1.1.dist-info}/licenses/LICENSE +0 -0
|
@@ -5,7 +5,7 @@ class Settings(BaseSettings):
|
|
|
5
5
|
"""
|
|
6
6
|
Application settings.
|
|
7
7
|
"""
|
|
8
|
-
app_version: str = Field(default="0.1.
|
|
8
|
+
app_version: str = Field(default="0.1.1", description="Application version")
|
|
9
9
|
SEARXNG_BASE_URL: str = "http://localhost:8080"
|
|
10
10
|
SEARXNG_TIMEOUT: int = 10
|
|
11
11
|
LOG_LEVEL: str = "INFO"
|
|
@@ -13,7 +13,8 @@ class Settings(BaseSettings):
|
|
|
13
13
|
model_config = SettingsConfigDict(
|
|
14
14
|
env_file=".env",
|
|
15
15
|
env_file_encoding="utf-8",
|
|
16
|
-
case_sensitive=
|
|
16
|
+
case_sensitive=False,
|
|
17
|
+
extra="ignore"
|
|
17
18
|
)
|
|
18
19
|
|
|
19
20
|
settings = Settings()
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: web-search-searxng-mcp
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.1
|
|
4
4
|
Summary: Add your description here
|
|
5
5
|
License-File: LICENSE
|
|
6
6
|
Requires-Python: >=3.13
|
|
@@ -23,21 +23,16 @@ Before starting, ensure you have the following installed:
|
|
|
23
23
|
2. **uv**: An extremely fast Python package installer and resolver.
|
|
24
24
|
- Install instructions: [astral.sh/uv](https://github.com/astral-sh/uv)
|
|
25
25
|
|
|
26
|
-
## Step 1:
|
|
26
|
+
## Step 1: Prepare Local SearxNG
|
|
27
|
+
|
|
28
|
+
You need the configuration files from this repository to run the local search engine instance that the MCP server will connect to.
|
|
27
29
|
|
|
28
30
|
1. **Clone the Repository**
|
|
29
|
-
Clone this repository to a permanent location on your machine.
|
|
30
31
|
```bash
|
|
31
32
|
git clone https://github.com/ViktoriaKutseva/web-search-mcp.git
|
|
32
33
|
cd web-search-mcp
|
|
33
34
|
```
|
|
34
35
|
|
|
35
|
-
2. **Initialize Environment**
|
|
36
|
-
Use `uv` to sync dependencies (this creates the virtual environment).
|
|
37
|
-
```bash
|
|
38
|
-
uv sync
|
|
39
|
-
```
|
|
40
|
-
|
|
41
36
|
## Step 2: Start the Search Engine
|
|
42
37
|
|
|
43
38
|
The MCP server relies on a local instance of SearxNG.
|
|
@@ -64,38 +59,31 @@ To use this tool in other specific projects or global editors, you need to regis
|
|
|
64
59
|
|
|
65
60
|
### Option A: Integration with Claude Desktop
|
|
66
61
|
|
|
67
|
-
1. **
|
|
68
|
-
Run `pwd` (Linux/macOS) or `cd` (Windows) in the repository root to get the full path.
|
|
69
|
-
*Example:* `/home/user/code/web-search-mcp`
|
|
70
|
-
|
|
71
|
-
2. **Locate Config File**
|
|
62
|
+
1. **Locate Config File**
|
|
72
63
|
Find or create the `claude_desktop_config.json` file:
|
|
73
64
|
* **macOS**: `~/Library/Application Support/Claude/claude_desktop_config.json`
|
|
74
65
|
* **Windows**: `%APPDATA%\Claude\claude_desktop_config.json`
|
|
75
66
|
|
|
76
|
-
|
|
77
|
-
Add the `web-search` entry to the `mcpServers` object.
|
|
67
|
+
2. **Edit Configuration**
|
|
68
|
+
Add the `web-search` entry to the `mcpServers` object.
|
|
78
69
|
|
|
79
70
|
```json
|
|
80
71
|
{
|
|
81
72
|
"mcpServers": {
|
|
82
73
|
"web-search": {
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
"
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
"env": {
|
|
91
|
-
"SEARXNG_BASE_URL": "http://localhost:8080"
|
|
92
|
-
}
|
|
74
|
+
"command": "uvx",
|
|
75
|
+
"args": [
|
|
76
|
+
"--from", "web-search-searxng-mcp", "web-search-mcp"
|
|
77
|
+
],
|
|
78
|
+
"env": {
|
|
79
|
+
"SEARXNG_BASE_URL": "http://localhost:8080"
|
|
80
|
+
}
|
|
93
81
|
}
|
|
94
82
|
}
|
|
95
83
|
}
|
|
96
84
|
```
|
|
97
85
|
|
|
98
|
-
|
|
86
|
+
3. **Restart Claude Desktop**
|
|
99
87
|
Completely quit and restart the application for changes to take effect.
|
|
100
88
|
|
|
101
89
|
## Step 4: Verification
|
|
@@ -108,7 +96,7 @@ To use this tool in other specific projects or global editors, you need to regis
|
|
|
108
96
|
## Troubleshooting
|
|
109
97
|
|
|
110
98
|
- **SearxNG not reachable**: Ensure Docker container is running (`docker ps`) and port 8080 is free.
|
|
111
|
-
- **MCP Error**: Check the logs in your client or run `
|
|
99
|
+
- **MCP Error**: Check the logs in your client or run `uvx web-search-mcp` manually in the terminal to see if it starts without crashing (it will wait for stdio input).
|
|
112
100
|
|
|
113
101
|
## Configuration
|
|
114
102
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
web_search_mcp/__init__.py,sha256=A4JxZsp9WlRXtH-kQui7vtBcHNwgnc0dYIFqGlDiXVI,32
|
|
2
2
|
web_search_mcp/config/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
3
|
web_search_mcp/config/logging.py,sha256=YMWDWlvMgY7wBFm1D9Q8lWNjZrJemHIwsN6e3ZUqDwk,487
|
|
4
|
-
web_search_mcp/config/settings.py,sha256=
|
|
4
|
+
web_search_mcp/config/settings.py,sha256=ZwfYJPA_-DvgJciMUPnITWsxmo0hKCKKylNrVuhWPKM,536
|
|
5
5
|
web_search_mcp/domains/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
6
6
|
web_search_mcp/domains/search/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
7
7
|
web_search_mcp/domains/search/exceptions.py,sha256=LEfFL6bw7GFpuneAAgkQ2_Ow_9vyUORG1aUyrkVmtQw,182
|
|
@@ -13,8 +13,8 @@ web_search_mcp/entry_points/mcp_server.py,sha256=VYG2vyUyX6VmPoISqu--miigF3YvHbA
|
|
|
13
13
|
web_search_mcp/infrastructure/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
14
14
|
web_search_mcp/infrastructure/clients/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
15
15
|
web_search_mcp/infrastructure/clients/searxng.py,sha256=e5vSKtg-ghS4lKZk-az1TdjkzfduGmVjIzLGKc0bgLI,2873
|
|
16
|
-
web_search_searxng_mcp-0.1.
|
|
17
|
-
web_search_searxng_mcp-0.1.
|
|
18
|
-
web_search_searxng_mcp-0.1.
|
|
19
|
-
web_search_searxng_mcp-0.1.
|
|
20
|
-
web_search_searxng_mcp-0.1.
|
|
16
|
+
web_search_searxng_mcp-0.1.1.dist-info/METADATA,sha256=BlFSUCCo-BZ5YOkc87UWkmyCl-sVNV6tYpTSSkt07pQ,3882
|
|
17
|
+
web_search_searxng_mcp-0.1.1.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
|
|
18
|
+
web_search_searxng_mcp-0.1.1.dist-info/entry_points.txt,sha256=7Rd9zuUoxSVIoyImHlc71A2u45ee7IZnMGzQy0Q7piA,73
|
|
19
|
+
web_search_searxng_mcp-0.1.1.dist-info/licenses/LICENSE,sha256=Ndp2kFd74g3NmWTsArvM_oA5E4u8Qn_NH9QVEs5J8YM,1072
|
|
20
|
+
web_search_searxng_mcp-0.1.1.dist-info/RECORD,,
|
|
File without changes
|
{web_search_searxng_mcp-0.1.0.dist-info → web_search_searxng_mcp-0.1.1.dist-info}/entry_points.txt
RENAMED
|
File without changes
|
{web_search_searxng_mcp-0.1.0.dist-info → web_search_searxng_mcp-0.1.1.dist-info}/licenses/LICENSE
RENAMED
|
File without changes
|