No project description provided
Project description
ly-mcp
A Model Context Protocol (MCP) server for Taiwan's Legislative Yuan API v2, providing bill search, detailed information, related documents, and meeting records.
Features
This MCP server provides the following tools:
- search_bills: Search bills by term, session, category, proposer, and other criteria
- get_bill_detail: Get comprehensive information about specific bills (returns complete JSON)
- get_bill_related_bills: Query related bills and their associations
- get_bill_doc_html: Retrieve HTML document content for specific bills
- get_bill_meets: Access bill deliberation records from various meetings
API Source
This MCP server uses the Legislative Yuan API v2 as its data source, providing information about Taiwan's Legislative Yuan bills and proceedings.
Installation & Usage
Quick Start
Install and run the server using uvx:
uvx lymcp@latest
MCP Client Configuration
Add the server to your MCP client configuration (e.g., Claude Desktop):
PyPI
{
"mcpServers": {
"lymcp": {
"command": "uvx",
"args": ["lymcp@latest"]
}
}
}
GitHub
{
"mcpServers": {
"lymcp": {
"command": "uvx",
"args": [
"--from",
"git+https://github.com/narumiruna/ly-mcp",
"lymcp"
]
}
}
}
Local Development
{
"mcpServers": {
"lymcp": {
"command": "uv",
"args": [
"run",
"--directory",
"/path/to/ly-mcp",
"lymcp"
]
}
}
}
Development
Prerequisites
- Python 3.12+
- uv package manager
Setup
git clone https://github.com/narumiruna/ly-mcp
cd ly-mcp
uv sync
Running Tests
# Run full test suite with coverage
make test
# Run tests with verbose output
uv run pytest -v -s
Code Quality
# Run linter
make lint
# Run type checker
make type
# Run both linter and type checker
uv run ruff check .
uv run mypy .
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file lymcp-0.1.4-py3-none-any.whl.
File metadata
- Download URL: lymcp-0.1.4-py3-none-any.whl
- Upload date:
- Size: 6.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7a5002d5bc086025e496c59df46d19d0843581c0449f97e7eee7d3a4caf41700
|
|
| MD5 |
79c1b4c5911d82c90435e031a4e5a8d8
|
|
| BLAKE2b-256 |
0f626597e68126a9218d3f35a5b1886db5cbe409de52a3e9323caed0df9b2a6b
|