
Grants Search MCP Server
An MCP server that enables users to search for government grants based on keywords and view detailed information including funding, eligibility, and deadlines.
Tar-ive
Tools
search-grants
Search for government grants based on keywords
README
Grants Search MCP Server
This project is an MCP (Model Context Protocol) server that provides a tool to search for government grants based on keywords.
Video Introduction
Overview
The Grants Search MCP Server is built using the @modelcontextprotocol/sdk
package. It exposes a single tool called "search-grants" that allows users to search for available government grants based on a search query.
The server interacts with the Simpler Grants API to fetch the grant data and formats the results for display.
The MCP retrieves data from the Simpler Grants API, which provides a comprehensive set of endpoints for accessing information about government grants. This API is currently in its alpha version, primarily intended for testing and feedback. It includes features such as searching for opportunities, retrieving agency information, and accessing detailed grant data, all structured in a user-friendly format.
The API supports various filters for searching grants, including agency, applicant type, funding category, and more. It also provides pagination options to manage large sets of results effectively.
Features
- Search for government grants by keyword
- Paginate the search results
- Display detailed information about each grant, including:
- Opportunity title, number, and status
- Funding information (award floor, award ceiling, category)
- Dates and deadlines
- Contact information
- Eligibility requirements
- Additional information URL
Setup
- Clone the repository and navigate to the project directory.
- Install the required dependencies:
- Node.js 16 or higher
npm install
- Set the
API_KEY
environment variable with your Simpler Grants API key. - Start the MCP server:
npm start
The server will start running and listen for incoming MCP client connections.
Usage
Once the server is running, you can connect to it using an MCP client (e.g., Claude Desktop).
To use the "search-grants" tool, simply send a request with the following parameters:
query
: The search query (e.g., "Artificial intelligence", "Climate change")page
: The page number for pagination (default: 1)grantsPerPage
: The number of grants to display per page (default: 3)
The server will respond with a formatted summary of the search results, including the grant details.
Customization
You can customize the server by modifying the following:
formatGrantDetails
: The function that formats the grant information for displaycreateSummary
: The function that generates the search results summaryAPI_KEY
: The Simpler Grants API key used to authenticate the requests
Troubleshooting
If you encounter any issues, please check the server logs for more information. You can also reach out to the project maintainers for assistance.
Contributing
If you'd like to contribute to this project, please fork the repository and submit a pull request with your changes.
Recommended Servers
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
serper-search-scrape-mcp-server
This Serper MCP Server supports search and webpage scraping, and all the most recent parameters introduced by the Serper API, like location.
The Verge News MCP Server
Provides tools to fetch and search news from The Verge's RSS feed, allowing users to get today's news, retrieve random articles from the past week, and search for specific keywords in recent Verge content.
Google Search Console MCP Server
A server that provides access to Google Search Console data through the Model Context Protocol, allowing users to retrieve and analyze search analytics data with customizable dimensions and reporting periods.
Crypto Price & Market Analysis MCP Server
A Model Context Protocol (MCP) server that provides comprehensive cryptocurrency analysis using the CoinCap API. This server offers real-time price data, market analysis, and historical trends through an easy-to-use interface.
MCP PubMed Search
Server to search PubMed (PubMed is a free, online database that allows users to search for biomedical and life sciences literature). I have created on a day MCP came out but was on vacation, I saw someone post similar server in your DB, but figured to post mine.
dbt Semantic Layer MCP Server
A server that enables querying the dbt Semantic Layer through natural language conversations with Claude Desktop and other AI assistants, allowing users to discover metrics, create queries, analyze data, and visualize results.
Tavily MCP Server
Provides AI-powered web search capabilities using Tavily's search API, enabling LLMs to perform sophisticated web searches, get direct answers to questions, and search recent news articles.
mixpanel
Connect to your Mixpanel data. Query events, retention, and funnel data from Mixpanel analytics.