- Home
- MCP servers
- MCP Jina Java
MCP Jina Java
- other
5
GitHub Stars
other
Language
6 months ago
First Indexed
2 months ago
Catalog Refreshed
Documentation & install
Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.
Installation
Add the following to your MCP client configuration file.
Configuration
View docs{
"mcpServers": {
"garcheng-mcp-server-jina-java": {
"command": "java",
"args": [
"-Dspring.ai.mcp.server.stdio=true",
"-jar",
"/the path of the jar/mcp-server-jina-java-1.0-SNAPSHOT.jar",
"jina.api.api-key= Your jina key"
]
}
}
}You run a Model Context Protocol (MCP) server that leverages the Jina Reader API to search and fetch web content. This server lets you query web results and fetch pages through a lightweight local process, making it easy to power your MCP client with up-to-date content from the web.
How to use
You connect to this MCP server from an MCP client to perform two primary actions: search the web and fetch content from a URL. Use the client’s MCP call to send a search query and your server will return relevant results, or provide a URL and have the server retrieve and return the page content.
How to install
Prerequisites: you need a Java Runtime Environment (JRE) installed. Ensure you can run Java from the command line.
-
Prepare the MCP server configuration. You will start the server locally using Java and the provided jar.
-
Start the MCP server with the following command. This runs the MCP server jar and passes the necessary runtime options and API key argument.
java \
-Dspring.ai.mcp.server.stdio=true \
-jar \
/the path of the jar/mcp-server-jina-java-1.0-SNAPSHOT.jar \
jina.api.api-key= Your jina key
Additional notes
Configuration is provided as a local stdio MCP server. The command above runs the Java-based server and enables stdio MCP communication. Replace the jar path with the actual location of your mcp-server-jina-java-1.0-SNAPSHOT.jar and supply your real Jina API key.
License: This MCP server is available under the MIT License. You may use, modify, and distribute it in compliance with MIT terms.
Available tools
readAndFetchContent
Reads a URL and fetches its content, enabling the MCP client to retrieve page bodies for further processing.
searchAndGetSERP
Searches the web for a keyword and returns the SERP results to the MCP client.