We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Vashistht/harcx-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
#!/usr/bin/env python3
"""Quick test for harcx MCP tools."""
import logging
# Suppress HTTP request logs
logging.getLogger("httpx").setLevel(logging.WARNING)
from harcx_mcp import verify_citations, verify_urls
# Test with your bib file
print("=== Testing verify_citations ===")
result = verify_citations("references.bib", author_threshold=0.6)
print(f"Status: {result['status']}")
print(f"Message: {result['message']}")
if result.get("issues"):
print("\nIssues found:")
for issue in result["issues"]:
print(f"\n [{issue['key']}]")
print(f" Title: {issue['title']}")
print(f" Year: {issue['year']}")
print(f" Found: {issue['found']}")
print(f" Message: {issue['message']}")
if issue.get("matched_paper"):
mp = issue["matched_paper"]
print(f" Matched: {mp['title'][:50]}... by {mp['authors']}")
print("\n=== Testing verify_urls ===")
url_result = verify_urls("references.bib")
print(f"Status: {url_result['status']}")
print(f"Message: {url_result['message']}")
if url_result.get("issues"):
print("\nURL issues:")
for issue in url_result["issues"]:
print(f"\n [{issue['key']}]")
print(f" URL: {issue['url']}")
print(f" Status: {issue['status_code']}")
print(f" Message: {issue['message']}")