web-search-searxng-mcp 0.1.0__tar.gz → 0.1.1__tar.gz

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.
Files changed (27) hide show
  1. {web_search_searxng_mcp-0.1.0 → web_search_searxng_mcp-0.1.1}/CHANGELOG.md +11 -0
  2. {web_search_searxng_mcp-0.1.0 → web_search_searxng_mcp-0.1.1}/PKG-INFO +16 -28
  3. {web_search_searxng_mcp-0.1.0 → web_search_searxng_mcp-0.1.1}/README.md +15 -27
  4. {web_search_searxng_mcp-0.1.0 → web_search_searxng_mcp-0.1.1}/pyproject.toml +1 -1
  5. {web_search_searxng_mcp-0.1.0 → web_search_searxng_mcp-0.1.1}/searxng/settings.yml.example +1 -1
  6. {web_search_searxng_mcp-0.1.0 → web_search_searxng_mcp-0.1.1}/src/web_search_mcp/config/settings.py +3 -2
  7. {web_search_searxng_mcp-0.1.0 → web_search_searxng_mcp-0.1.1}/.github/workflows/publish-to-pypi.yml +0 -0
  8. {web_search_searxng_mcp-0.1.0 → web_search_searxng_mcp-0.1.1}/.gitignore +0 -0
  9. {web_search_searxng_mcp-0.1.0 → web_search_searxng_mcp-0.1.1}/.python-version +0 -0
  10. {web_search_searxng_mcp-0.1.0 → web_search_searxng_mcp-0.1.1}/LICENSE +0 -0
  11. {web_search_searxng_mcp-0.1.0 → web_search_searxng_mcp-0.1.1}/docker-compose.yml +0 -0
  12. {web_search_searxng_mcp-0.1.0 → web_search_searxng_mcp-0.1.1}/docs/PUBLISHING.md +0 -0
  13. {web_search_searxng_mcp-0.1.0 → web_search_searxng_mcp-0.1.1}/src/web_search_mcp/__init__.py +0 -0
  14. {web_search_searxng_mcp-0.1.0 → web_search_searxng_mcp-0.1.1}/src/web_search_mcp/config/__init__.py +0 -0
  15. {web_search_searxng_mcp-0.1.0 → web_search_searxng_mcp-0.1.1}/src/web_search_mcp/config/logging.py +0 -0
  16. {web_search_searxng_mcp-0.1.0 → web_search_searxng_mcp-0.1.1}/src/web_search_mcp/domains/__init__.py +0 -0
  17. {web_search_searxng_mcp-0.1.0 → web_search_searxng_mcp-0.1.1}/src/web_search_mcp/domains/search/__init__.py +0 -0
  18. {web_search_searxng_mcp-0.1.0 → web_search_searxng_mcp-0.1.1}/src/web_search_mcp/domains/search/exceptions.py +0 -0
  19. {web_search_searxng_mcp-0.1.0 → web_search_searxng_mcp-0.1.1}/src/web_search_mcp/domains/search/models.py +0 -0
  20. {web_search_searxng_mcp-0.1.0 → web_search_searxng_mcp-0.1.1}/src/web_search_mcp/domains/search/services.py +0 -0
  21. {web_search_searxng_mcp-0.1.0 → web_search_searxng_mcp-0.1.1}/src/web_search_mcp/entry_points/__init__.py +0 -0
  22. {web_search_searxng_mcp-0.1.0 → web_search_searxng_mcp-0.1.1}/src/web_search_mcp/entry_points/main.py +0 -0
  23. {web_search_searxng_mcp-0.1.0 → web_search_searxng_mcp-0.1.1}/src/web_search_mcp/entry_points/mcp_server.py +0 -0
  24. {web_search_searxng_mcp-0.1.0 → web_search_searxng_mcp-0.1.1}/src/web_search_mcp/infrastructure/__init__.py +0 -0
  25. {web_search_searxng_mcp-0.1.0 → web_search_searxng_mcp-0.1.1}/src/web_search_mcp/infrastructure/clients/__init__.py +0 -0
  26. {web_search_searxng_mcp-0.1.0 → web_search_searxng_mcp-0.1.1}/src/web_search_mcp/infrastructure/clients/searxng.py +0 -0
  27. {web_search_searxng_mcp-0.1.0 → web_search_searxng_mcp-0.1.1}/uv.lock +0 -0
@@ -16,6 +16,17 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
16
16
  ### Fixed
17
17
  - None yet
18
18
 
19
+ ## [0.1.1] - 2026-02-05
20
+
21
+ ### Fixed
22
+ - Config: set case_sensitive to False in model_config
23
+ - Update command args for web-search configuration
24
+ - Build: configure hatchling to find web_search_mcp package
25
+ - Build: rename package to web-search-searxng-mcp
26
+
27
+ ### Documentation
28
+ - Update README and settings example for clarity
29
+
19
30
  ## [0.1.0] - 2026-02-05
20
31
 
21
32
  ### Added
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: web-search-searxng-mcp
3
- Version: 0.1.0
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: Installation & Setup
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. **Get Absolute Path**
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
- 3. **Edit Configuration**
77
- Add the `web-search` entry to the `mcpServers` object. Replace `/ABSOLUTE/PATH/TO/` with your actual path.
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
- "command": "uv",
84
- "args": [
85
- "--directory",
86
- "/ABSOLUTE/PATH/TO/web-search-mcp",
87
- "run",
88
- "web-search-mcp"
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
- 4. **Restart Claude Desktop**
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 `uv run web-search-mcp` manually in the terminal to see if it starts without crashing (it will wait for stdio input).
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
 
@@ -10,21 +10,16 @@ Before starting, ensure you have the following installed:
10
10
  2. **uv**: An extremely fast Python package installer and resolver.
11
11
  - Install instructions: [astral.sh/uv](https://github.com/astral-sh/uv)
12
12
 
13
- ## Step 1: Installation & Setup
13
+ ## Step 1: Prepare Local SearxNG
14
+
15
+ You need the configuration files from this repository to run the local search engine instance that the MCP server will connect to.
14
16
 
15
17
  1. **Clone the Repository**
16
- Clone this repository to a permanent location on your machine.
17
18
  ```bash
18
19
  git clone https://github.com/ViktoriaKutseva/web-search-mcp.git
19
20
  cd web-search-mcp
20
21
  ```
21
22
 
22
- 2. **Initialize Environment**
23
- Use `uv` to sync dependencies (this creates the virtual environment).
24
- ```bash
25
- uv sync
26
- ```
27
-
28
23
  ## Step 2: Start the Search Engine
29
24
 
30
25
  The MCP server relies on a local instance of SearxNG.
@@ -51,38 +46,31 @@ To use this tool in other specific projects or global editors, you need to regis
51
46
 
52
47
  ### Option A: Integration with Claude Desktop
53
48
 
54
- 1. **Get Absolute Path**
55
- Run `pwd` (Linux/macOS) or `cd` (Windows) in the repository root to get the full path.
56
- *Example:* `/home/user/code/web-search-mcp`
57
-
58
- 2. **Locate Config File**
49
+ 1. **Locate Config File**
59
50
  Find or create the `claude_desktop_config.json` file:
60
51
  * **macOS**: `~/Library/Application Support/Claude/claude_desktop_config.json`
61
52
  * **Windows**: `%APPDATA%\Claude\claude_desktop_config.json`
62
53
 
63
- 3. **Edit Configuration**
64
- Add the `web-search` entry to the `mcpServers` object. Replace `/ABSOLUTE/PATH/TO/` with your actual path.
54
+ 2. **Edit Configuration**
55
+ Add the `web-search` entry to the `mcpServers` object.
65
56
 
66
57
  ```json
67
58
  {
68
59
  "mcpServers": {
69
60
  "web-search": {
70
- "command": "uv",
71
- "args": [
72
- "--directory",
73
- "/ABSOLUTE/PATH/TO/web-search-mcp",
74
- "run",
75
- "web-search-mcp"
76
- ],
77
- "env": {
78
- "SEARXNG_BASE_URL": "http://localhost:8080"
79
- }
61
+ "command": "uvx",
62
+ "args": [
63
+ "--from", "web-search-searxng-mcp", "web-search-mcp"
64
+ ],
65
+ "env": {
66
+ "SEARXNG_BASE_URL": "http://localhost:8080"
67
+ }
80
68
  }
81
69
  }
82
70
  }
83
71
  ```
84
72
 
85
- 4. **Restart Claude Desktop**
73
+ 3. **Restart Claude Desktop**
86
74
  Completely quit and restart the application for changes to take effect.
87
75
 
88
76
  ## Step 4: Verification
@@ -95,7 +83,7 @@ To use this tool in other specific projects or global editors, you need to regis
95
83
  ## Troubleshooting
96
84
 
97
85
  - **SearxNG not reachable**: Ensure Docker container is running (`docker ps`) and port 8080 is free.
98
- - **MCP Error**: Check the logs in your client or run `uv run web-search-mcp` manually in the terminal to see if it starts without crashing (it will wait for stdio input).
86
+ - **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).
99
87
 
100
88
  ## Configuration
101
89
 
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "web-search-searxng-mcp"
3
- version = "0.1.0"
3
+ version = "0.1.1"
4
4
  description = "Add your description here"
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.13"
@@ -1,7 +1,7 @@
1
1
  # searxng/settings.yml
2
2
  use_default_settings: true
3
3
  server:
4
- secret_key: "ultrasecretkey" # change this!
4
+ secret_key: "your-secret-key" # change this!
5
5
  limiter: false # disable rate limiter for local usage
6
6
  image_proxy: true
7
7
  search:
@@ -5,7 +5,7 @@ class Settings(BaseSettings):
5
5
  """
6
6
  Application settings.
7
7
  """
8
- app_version: str = Field(default="0.1.0", description="Application version")
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=True
16
+ case_sensitive=False,
17
+ extra="ignore"
17
18
  )
18
19
 
19
20
  settings = Settings()