English | 한국어 →
An MCP (Model Context Protocol) server that gives AI assistants like Claude direct access to KIPRIS — South Korea's official patent and trademark database operated by the Korean Intellectual Property Office (KIPO).
South Korea is one of the top 5 patent-filing countries in the world. Companies like Samsung, LG, SK Hynix, Hyundai, and POSCO file tens of thousands of patents every year — all searchable through KIPRIS.
This MCP server lets Claude (or any MCP-compatible AI client) search those patents in natural language, without the user needing to navigate the Korean-language KIPRIS web portal.
Typical use cases:
- Prior art search before filing a patent
- Competitive intelligence on Korean technology companies
- Monitoring IPC classifications in a specific technical domain
- Trademark clearance for the Korean market
Prerequisites: Python 3.11+, a free KIPRIS API key
# 1. Clone and install
git clone https://github.com/nuri428/mcp_kipris.git
cd mcp_kipris
pip install -e .
# 2. Set your API key
export KIPRIS_API_KEY="your_api_key_here"
# 3. Run the server (stdio mode for Claude Desktop)
python -m mcp_kipris.serverThen add the server to Claude Desktop — see Claude Desktop Configuration.
- Go to https://plus.kipris.or.kr (site is in Korean — use a browser translator)
- Register for a free account
- Apply for an Open API key from the developer portal
- Your key is free for non-commercial use with a daily request quota
| Tool | Description |
|---|---|
patent_applicant_search |
Search patents by applicant name |
patent_keyword_search |
Free-text keyword search |
patent_application_number_search |
Search by application number |
patent_righter_search |
Search by rights holder name |
patent_detail_search |
Retrieve full patent details by application number |
patent_summary_search |
Retrieve patent summary by application number |
abstract_search |
Search by abstract / invention summary — contributed by @haseo-ai |
ipc_search |
Search by IPC classification code — contributed by @haseo-ai |
agent_search |
Search by patent agent name — contributed by @haseo-ai |
| Tool | Description |
|---|---|
trademark_search |
Search Korean trademarks by keyword — contributed by @haseo-ai |
Search patents from 13 countries via KIPRIS's international database:
| Tool | Description |
|---|---|
foreign_patent_applicant_search |
Search foreign patents by applicant |
foreign_patent_application_number_search |
Search foreign patents by application number |
foreign_patent_free_search |
Free-text search for foreign patents |
foreign_patent_international_application_number_search |
Search by PCT international application number |
foreign_patent_international_open_number_search |
Search by international publication number |
pip install mcp-kiprisgit clone https://github.com/nuri428/mcp_kipris.git
cd mcp_kipris
# Option A — using uv (recommended)
pip install uv
uv sync
# Option B — using pip
pip install -e .# Shell export (session-scoped)
export KIPRIS_API_KEY="your_api_key_here"
# Or create a .env file at the project root
echo 'KIPRIS_API_KEY=your_api_key_here' > .env# via uv
uv run python -m mcp_kipris.server
# via python directly (if installed with pip install -e .)
python -m mcp_kipris.serveruv run python -m mcp_kipris.sse_server --http --port 6274 --host 0.0.0.0uvx mcpo --port 6274 -- uv run python -m mcp_kipris.serverbash sse_server_build.shAdd this block to your Claude Desktop claude_desktop_config.json
(usually at ~/Library/Application Support/Claude/ on macOS):
{
"mcpServers": {
"kipris": {
"command": "uv",
"args": ["run", "python", "-m", "mcp_kipris.server"],
"cwd": "/absolute/path/to/mcp_kipris",
"env": {
"KIPRIS_API_KEY": "your_api_key_here"
}
}
}
}Tests make live API calls and require a valid KIPRIS_API_KEY.
# Install and run
uv sync
pytest test/ -v --cov=src/mcp_kipris --cov-report=term-missingIndividual test scripts can also be run directly:
python test/test_samsung_patents.py
python test/test_patent_keyword_search.pyruff check src/
ruff format src/Before tagging a release, verify the package builds and installs cleanly:
# 1. Build wheel and sdist
pip install build
python -m build
# 2. Smoke-test the wheel in a clean virtualenv
python -m venv /tmp/kipris-smoke
source /tmp/kipris-smoke/bin/activate
pip install dist/mcp_kipris-*.whl
python -c "import mcp_kipris; print('import OK')"
deactivate
rm -rf /tmp/kipris-smoke
# 3. Verify editable install still works
pip install -e .
pytest test/ -vEvery push and pull request to main / develop runs the full pipeline on Python 3.11 and 3.12:
| Step | Tool | Notes |
|---|---|---|
| Lint | ruff check |
PEP 8 + style rules |
| Format | ruff format --check |
Enforces consistent formatting |
| Test | pytest |
Live API calls; requires KIPRIS_API_KEY secret |
| Coverage | Codecov | Report uploaded from Python 3.12 run |
These examples use the HTTP/SSE server mode. First, get a session ID:
# Start the SSE server
uv run python -m mcp_kipris.sse_server --http --port 6274 --host 0.0.0.0
# Get a session ID
curl -N http://localhost:6274/messages/
# → event: endpoint
# → data: /messages/?session_id=<SESSION_ID># "삼성전자" is the Korean name for Samsung Electronics
curl -X POST "http://localhost:6274/messages/?session_id=<SESSION_ID>" \
-H "Content-Type: application/json" \
-d '{
"type": "tool",
"name": "patent_applicant_search",
"args": {
"applicant": "삼성전자",
"docs_count": 5,
"desc_sort": true
}
}'curl http://localhost:6274/tools | jq .All tools return a Markdown table wrapped in this envelope:
[
{
"type": "text",
"text": "| application_number | title | applicant | ...\n|---|---|---|...",
"metadata": null
}
]| Code | Country / Database |
|---|---|
| US | United States |
| EP | European Patent Office |
| WO | PCT / WIPO |
| JP | Japan |
| PJ | Japan (English abstract) |
| CP | China |
| CN | China (English abstract) |
| TW | Taiwan (English abstract) |
| RU | Russia |
| CO | Colombia |
| SE | Sweden |
| ES | Spain |
| IL | Israel |
| Code | Sort by |
|---|---|
| PD | Publication date |
| AD | Application date |
| GD | Registration date |
| OPD | Laid-open date |
| FD | International application date |
| FOD | International publication date |
| RD | Priority claim date |
| Code | Status |
|---|---|
| A | Published |
| C | Corrected publication |
| F | Granted |
| G | Corrected grant |
| I | Invalidated |
| J | Cancelled |
| R | Re-published |
If you use ClaudeWork, this server is also packaged as a ready-to-use skill:
See DEVELOPMENT.md for the full developer guide and CI/CD setup.
- Fork the repository
- Create a feature branch:
git checkout -b feature/my-feature - Commit your changes:
git commit -m 'feat: add my feature' - Push:
git push origin feature/my-feature - Open a Pull Request
Before submitting:
ruff check src/ # lint
ruff format src/ # format
pytest test/ # tests (requires KIPRIS_API_KEY)The KIPRIS_API_KEY for CI is stored as a GitHub Secret — you do not need to commit it.
Special thanks to @haseo-ai for 5 pull requests that significantly expanded this project:
- Abstract search (
PatentAbstractSearchTool) — search patents by invention abstract - IPC code search (
PatentIPCSearchTool) — search by international classification code - Agent search (
PatentAgentSearchTool) — search by registered patent agent name - Trademark search (
TrademarkSearchTool) — Korean trademark keyword search - Improved API error handling — more robust error management for KIPRIS API responses