I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.

RapidAPI-MCP
Implémentation du serveur MCP pour l'intégration de l'API brevetée globale RapidAPI avec SQLite Storage
3 years
Works with Finder
1
Github Watches
1
Github Forks
0
Github Stars
RapidAPI MCP Server
This repository contains an implementation of an MCP Server for interfacing with the RapidAPI Global Patent API and storing patent data in a SQLite database.
Features
- RapidAPI Global Patent API integration
- MCP Server implementation for handling patent requests
- SQLite database integration for patent data storage
- Advanced patent scoring system (pscore, cscore, lscore, tscore)
- Rate limiting and error handling
Installation
Using Conda (Recommended)
- Clone the repository:
git clone https://github.com/myownipgit/RapidAPI-MCP.git
cd RapidAPI-MCP
- Create and activate conda environment:
# Create environment from yml file
conda env create -f environment.yml
# Activate environment
conda activate rapidapi-mcp
Alternatively, you can create the environment manually:
# Create new environment with Python 3.11
conda create -n rapidapi-mcp python=3.11
# Activate environment
conda activate rapidapi-mcp
# Install required packages
conda install -c conda-forge requests aiohttp python-dotenv pytest
pip install rapidapi-connect
- Set up environment variables:
cp .env.example .env
# Edit .env with your settings
Usage
- Initialize the MCP Server:
from patent_mcp.server import MCPPatentServer
mcp_server = MCPPatentServer()
- Handle patent search requests:
search_request = {
'command': 'search',
'params': {
'query': 'quantum computing',
'date_range': '2004-2024',
'page': 1,
'per_page': 100
}
}
results = await mcp_server.handle_patent_request(search_request)
Testing
To run the tests, activate your conda environment and run:
# Run the connection test
python tests/test_connection.py
# Run all tests with pytest
python -m pytest tests/
Project Structure
-
patent_mcp/
- Main package directory-
client.py
- RapidAPI client implementation -
server.py
- MCP Server implementation -
database.py
- SQLite database operations -
scoring.py
- Patent scoring system -
__init__.py
- Package initialization
-
-
docs/
- Documentation-
SCORING.md
- Detailed scoring methodology
-
-
examples/
- Example scripts -
tests/
- Unit tests
Requirements
- Python 3.11 or higher
- Required packages are listed in
environment.yml
Scoring System
The system implements a comprehensive patent scoring methodology:
- Patent Score (pscore): Overall patent strength
- Citation Score (cscore): Citation impact analysis
- Legal Score (lscore): Legal status evaluation
- Technology Score (tscore): Technical complexity assessment
See SCORING.md for detailed information.
Configuration
The server uses the following environment variables:
-
RAPIDAPI_KEY
: Your RapidAPI API key -
DB_PATH
: Path to SQLite database (optional, defaults to./patents.db
) - Additional configuration options in
.env
Rate Limits
The RapidAPI service has the following limits:
- 1000 requests per day
- 500000 hard limit
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
License
MIT License - see LICENSE file for details
相关推荐
Evaluator for marketplace product descriptions, checks for relevancy and keyword stuffing.
Confidential guide on numerology and astrology, based of GG33 Public information
Professional Flask/SQLAlchemy code guide. Follow: https://x.com/navid_re
A geek-themed horoscope generator blending Bitcoin prices, tech jargon, and astrological whimsy.
Découvrez la collection la plus complète et la plus à jour de serveurs MCP sur le marché. Ce référentiel sert de centre centralisé, offrant un vaste catalogue de serveurs MCP open-source et propriétaires, avec des fonctionnalités, des liens de documentation et des contributeurs.
Manipulation basée sur Micropython I2C de l'exposition GPIO de la série MCP, dérivée d'Adafruit_MCP230XX
Une passerelle API unifiée pour intégrer plusieurs API d'explorateur de blockchain de type étherscan avec la prise en charge du protocole de contexte modèle (MCP) pour les assistants d'IA.
Miroir dehttps: //github.com/bitrefill/bitrefill-mcp-server
Reviews

user_XzYhC32U
I've been using Telegram MCP Server by jeroensmink98 and I'm thoroughly impressed. The setup was seamless, and it integrates perfectly with my existing workflow. The product is well-documented and supported, making it easy to use even for beginners. If you rely on Telegram for communication, this MCP server is a must-have. Highly recommend checking it out!